
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>PrivateNode · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search-title/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../styles/website.css">
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="ProgressBar.html" />
    
    
    <link rel="prev" href="PrismaticJoint.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
    <nav role="navigation" class="autoshow">
        <ul class="summary">
        <li><a href="http://cocos.com" class="btn" target="_blank"><img src="http://forum.cocos.com/images/logo.png" height="30" /></a></li>
        <li><a href="#" class="btn" onclick="toggleLanguage()">English</a></li>
        
        
        <li class="version-link">
            <a href="#" class="btn" style="color:#444"></i>Version: <span style="font-weight: bold; display: inline">2.0 Preview</span></a>
            <ul class="hovershow">
                
                <li><a href="http://docs.cocos.com/creator/api/zh" class="btn">Version: <span style="font-weight:bold; display: inline">1.x</span></a></li>
                
                <li><a href="http://docs.cocos.com/creator/api/2.0/zh" class="btn">Version: <span style="font-weight:bold; display: inline">2.0 Preview</span></a></li>
                
            </ul>
        </li>                
        
                 
        
        
        <li>
            <a class="btn"><i class="fa fa-book"></i>Cocos Creator</a>
            <ul>
                
                <li><a href="http://docs.cocos.com/creator/manual/zh" class="btn">手册文档</a></li>
                
                <li><a href="http://docs.cocos.com/creator/api/zh" class="btn">API 参考</a></li>
                
            </ul>
        </li>                
        
        
        
        <li>
            <a class="btn"><i class="fa fa-book"></i>Cocos2d-x</a>
            <ul>
                
                <li><a href="http://docs.cocos.com/cocos2d-x/manual/zh" class="btn">手册文档</a></li>
                
                <li><a href="http://www.cocos2d-x.org/docs/api-ref/index.html" class="btn">API 参考</a></li>
                
            </ul>
        </li>                
        
        
        
        <li><a href="http://docs.anysdk.com/" class="btn"><i class="fa fa-book"></i>AnySDK</a></li>
        
        
        </ul>
    </nav>
    
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        <li class="header">模块</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../modules/GLOBAL-MACROS.html">
            
                <a href="../modules/GLOBAL-MACROS.html">
            
                    
                    GLOBAL-MACROS
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../modules/_decorator.html">
            
                <a href="../modules/_decorator.html">
            
                    
                    _decorator
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../modules/anysdk.html">
            
                <a href="../modules/anysdk.html">
            
                    
                    anysdk
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../modules/cc.html">
            
                <a href="../modules/cc.html">
            
                    
                    cc
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../modules/dragonBones.html">
            
                <a href="../modules/dragonBones.html">
            
                    
                    dragonBones
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../modules/js.html">
            
                <a href="../modules/js.html">
            
                    
                    js
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../modules/sp.html">
            
                <a href="../modules/sp.html">
            
                    
                    sp
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../modules/sp.spine.html">
            
                <a href="../modules/sp.spine.html">
            
                    
                    sp.spine
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">类型</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="Action.html">
            
                <a href="Action.html">
            
                    
                    Action
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="ActionInstant.html">
            
                <a href="ActionInstant.html">
            
                    
                    ActionInstant
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="ActionInterval.html">
            
                <a href="ActionInterval.html">
            
                    
                    ActionInterval
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="ActionManager.html">
            
                <a href="ActionManager.html">
            
                    
                    ActionManager
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="AffineTransform.html">
            
                <a href="AffineTransform.html">
            
                    
                    AffineTransform
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="AgentManager.html">
            
                <a href="AgentManager.html">
            
                    
                    AgentManager
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="Animation.html">
            
                <a href="Animation.html">
            
                    
                    Animation
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="AnimationClip.html">
            
                <a href="AnimationClip.html">
            
                    
                    AnimationClip
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.9" data-path="AnimationState.html">
            
                <a href="AnimationState.html">
            
                    
                    AnimationState
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.10" data-path="ArmatureDisplay.html">
            
                <a href="ArmatureDisplay.html">
            
                    
                    ArmatureDisplay
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.11" data-path="array.html">
            
                <a href="array.html">
            
                    
                    array
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.12" data-path="Asset.html">
            
                <a href="Asset.html">
            
                    
                    Asset
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.13" data-path="AudioClip.html">
            
                <a href="AudioClip.html">
            
                    
                    AudioClip
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.14" data-path="audioEngine.html">
            
                <a href="audioEngine.html">
            
                    
                    audioEngine
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.15" data-path="AudioSource.html">
            
                <a href="AudioSource.html">
            
                    
                    AudioSource
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.16" data-path="BitmapFont.html">
            
                <a href="BitmapFont.html">
            
                    
                    BitmapFont
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.17" data-path="BlockInputEvents.html">
            
                <a href="BlockInputEvents.html">
            
                    
                    BlockInputEvents
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.18" data-path="BoxCollider.html">
            
                <a href="BoxCollider.html">
            
                    
                    BoxCollider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.19" data-path="Button.html">
            
                <a href="Button.html">
            
                    
                    Button
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.20" data-path="CallbacksInvoker.html">
            
                <a href="CallbacksInvoker.html">
            
                    
                    CallbacksInvoker
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.21" data-path="Camera.html">
            
                <a href="Camera.html">
            
                    
                    Camera
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.22" data-path="Canvas.html">
            
                <a href="Canvas.html">
            
                    
                    Canvas
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.23" data-path="CircleCollider.html">
            
                <a href="CircleCollider.html">
            
                    
                    CircleCollider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.24" data-path="CoffeeScript.html">
            
                <a href="CoffeeScript.html">
            
                    
                    CoffeeScript
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.25" data-path="Collider.html">
            
                <a href="Collider.html">
            
                    
                    Collider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.26" data-path="Collider.Box.html">
            
                <a href="Collider.Box.html">
            
                    
                    Collider.Box
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.27" data-path="Collider.Circle.html">
            
                <a href="Collider.Circle.html">
            
                    
                    Collider.Circle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.28" data-path="Collider.Polygon.html">
            
                <a href="Collider.Polygon.html">
            
                    
                    Collider.Polygon
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.29" data-path="CollisionManager.html">
            
                <a href="CollisionManager.html">
            
                    
                    CollisionManager
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.30" data-path="Color.html">
            
                <a href="Color.html">
            
                    
                    Color
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.31" data-path="Component.html">
            
                <a href="Component.html">
            
                    
                    Component
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.32" data-path="Component.EventHandler.html">
            
                <a href="Component.EventHandler.html">
            
                    
                    Component.EventHandler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.33" data-path="constructor.html">
            
                <a href="constructor.html">
            
                    
                    constructor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.34" data-path="ContainerStrategy.html">
            
                <a href="ContainerStrategy.html">
            
                    
                    ContainerStrategy
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.35" data-path="ContentStrategy.html">
            
                <a href="ContentStrategy.html">
            
                    
                    ContentStrategy
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.36" data-path="Details.html">
            
                <a href="Details.html">
            
                    
                    Details
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.37" data-path="Director.html">
            
                <a href="Director.html">
            
                    
                    Director
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.38" data-path="DistanceJoint.html">
            
                <a href="DistanceJoint.html">
            
                    
                    DistanceJoint
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.39" data-path="DragonBonesAsset.html">
            
                <a href="DragonBonesAsset.html">
            
                    
                    DragonBonesAsset
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.40" data-path="DragonBonesAtlasAsset.html">
            
                <a href="DragonBonesAtlasAsset.html">
            
                    
                    DragonBonesAtlasAsset
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.41" data-path="EditBox.html">
            
                <a href="EditBox.html">
            
                    
                    EditBox
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.42" data-path="EqualToFrame.html">
            
                <a href="EqualToFrame.html">
            
                    
                    EqualToFrame
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.43" data-path="EqualToWindow.html">
            
                <a href="EqualToWindow.html">
            
                    
                    EqualToWindow
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.44" data-path="Event.html">
            
                <a href="Event.html">
            
                    
                    Event
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.45" data-path="Event.EventAcceleration.html">
            
                <a href="Event.EventAcceleration.html">
            
                    
                    Event.EventAcceleration
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.46" data-path="Event.EventCustom.html">
            
                <a href="Event.EventCustom.html">
            
                    
                    Event.EventCustom
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.47" data-path="Event.EventKeyboard.html">
            
                <a href="Event.EventKeyboard.html">
            
                    
                    Event.EventKeyboard
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.48" data-path="Event.EventMouse.html">
            
                <a href="Event.EventMouse.html">
            
                    
                    Event.EventMouse
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.49" data-path="Event.EventTouch.html">
            
                <a href="Event.EventTouch.html">
            
                    
                    Event.EventTouch
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.50" data-path="EventTarget.html">
            
                <a href="EventTarget.html">
            
                    
                    EventTarget
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.51" data-path="FiniteTimeAction.html">
            
                <a href="FiniteTimeAction.html">
            
                    
                    FiniteTimeAction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.52" data-path="Font.html">
            
                <a href="Font.html">
            
                    
                    Font
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.53" data-path="Game.html">
            
                <a href="Game.html">
            
                    
                    Game
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.54" data-path="Graphics.html">
            
                <a href="Graphics.html">
            
                    
                    Graphics
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.55" data-path="Intersection.html">
            
                <a href="Intersection.html">
            
                    
                    Intersection
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.56" data-path="Joint.html">
            
                <a href="Joint.html">
            
                    
                    Joint
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.57" data-path="JsonAsset.html">
            
                <a href="JsonAsset.html">
            
                    
                    JsonAsset
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.58" data-path="Label.html">
            
                <a href="Label.html">
            
                    
                    Label
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.59" data-path="LabelAtlas.html">
            
                <a href="LabelAtlas.html">
            
                    
                    LabelAtlas
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.60" data-path="LabelOutline.html">
            
                <a href="LabelOutline.html">
            
                    
                    LabelOutline
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.61" data-path="Layout.html">
            
                <a href="Layout.html">
            
                    
                    Layout
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.62" data-path="loader.html">
            
                <a href="loader.html">
            
                    
                    loader
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.63" data-path="LoadingItems.html">
            
                <a href="LoadingItems.html">
            
                    
                    LoadingItems
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.64" data-path="Manifold.html">
            
                <a href="Manifold.html">
            
                    
                    Manifold
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.65" data-path="ManifoldPoint.html">
            
                <a href="ManifoldPoint.html">
            
                    
                    ManifoldPoint
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.66" data-path="Mask.html">
            
                <a href="Mask.html">
            
                    
                    Mask
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.67" data-path="misc.html">
            
                <a href="misc.html">
            
                    
                    misc
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.68" data-path="MotionStreak.html">
            
                <a href="MotionStreak.html">
            
                    
                    MotionStreak
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.69" data-path="MotorJoint.html">
            
                <a href="MotorJoint.html">
            
                    
                    MotorJoint
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.70" data-path="MouseJoint.html">
            
                <a href="MouseJoint.html">
            
                    
                    MouseJoint
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.71" data-path="Node.html">
            
                <a href="Node.html">
            
                    
                    Node
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.72" data-path="NodePool.html">
            
                <a href="NodePool.html">
            
                    
                    NodePool
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.73" data-path="OriginalContainer.html">
            
                <a href="OriginalContainer.html">
            
                    
                    OriginalContainer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.74" data-path="PageView.html">
            
                <a href="PageView.html">
            
                    
                    PageView
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.75" data-path="PageViewIndicator.html">
            
                <a href="PageViewIndicator.html">
            
                    
                    PageViewIndicator
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.76" data-path="ParticleAsset.html">
            
                <a href="ParticleAsset.html">
            
                    
                    ParticleAsset
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.77" data-path="ParticleSystem.html">
            
                <a href="ParticleSystem.html">
            
                    
                    ParticleSystem
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.78" data-path="path.html">
            
                <a href="path.html">
            
                    
                    path
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.79" data-path="PhysicsBoxCollider.html">
            
                <a href="PhysicsBoxCollider.html">
            
                    
                    PhysicsBoxCollider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.80" data-path="PhysicsChainCollider.html">
            
                <a href="PhysicsChainCollider.html">
            
                    
                    PhysicsChainCollider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.81" data-path="PhysicsCircleCollider.html">
            
                <a href="PhysicsCircleCollider.html">
            
                    
                    PhysicsCircleCollider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.82" data-path="PhysicsCollider.html">
            
                <a href="PhysicsCollider.html">
            
                    
                    PhysicsCollider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.83" data-path="PhysicsContact.html">
            
                <a href="PhysicsContact.html">
            
                    
                    PhysicsContact
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.84" data-path="PhysicsImpulse.html">
            
                <a href="PhysicsImpulse.html">
            
                    
                    PhysicsImpulse
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.85" data-path="PhysicsManager.html">
            
                <a href="PhysicsManager.html">
            
                    
                    PhysicsManager
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.86" data-path="PhysicsPolygonCollider.html">
            
                <a href="PhysicsPolygonCollider.html">
            
                    
                    PhysicsPolygonCollider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.87" data-path="PhysicsRayCastResult.html">
            
                <a href="PhysicsRayCastResult.html">
            
                    
                    PhysicsRayCastResult
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.88" data-path="Pipeline.html">
            
                <a href="Pipeline.html">
            
                    
                    Pipeline
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.89" data-path="Pipeline.Downloader.html">
            
                <a href="Pipeline.Downloader.html">
            
                    
                    Pipeline.Downloader
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.90" data-path="Pipeline.Loader.html">
            
                <a href="Pipeline.Loader.html">
            
                    
                    Pipeline.Loader
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.91" data-path="Playable.html">
            
                <a href="Playable.html">
            
                    
                    Playable
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.92" data-path="PluginParam.html">
            
                <a href="PluginParam.html">
            
                    
                    PluginParam
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.93" data-path="PluginProtocol.html">
            
                <a href="PluginProtocol.html">
            
                    
                    PluginProtocol
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.94" data-path="PolygonCollider.html">
            
                <a href="PolygonCollider.html">
            
                    
                    PolygonCollider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.95" data-path="Pool.html">
            
                <a href="Pool.html">
            
                    
                    Pool
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.96" data-path="Prefab.html">
            
                <a href="Prefab.html">
            
                    
                    Prefab
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.97" data-path="PrismaticJoint.html">
            
                <a href="PrismaticJoint.html">
            
                    
                    PrismaticJoint
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="2.98" data-path="PrivateNode.html">
            
                <a href="PrivateNode.html">
            
                    
                    PrivateNode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.99" data-path="ProgressBar.html">
            
                <a href="ProgressBar.html">
            
                    
                    ProgressBar
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.100" data-path="ProportionalToFrame.html">
            
                <a href="ProportionalToFrame.html">
            
                    
                    ProportionalToFrame
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.101" data-path="ProportionalToWindow.html">
            
                <a href="ProportionalToWindow.html">
            
                    
                    ProportionalToWindow
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.102" data-path="ProtocolAds.html">
            
                <a href="ProtocolAds.html">
            
                    
                    ProtocolAds
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.103" data-path="ProtocolAdTracking.html">
            
                <a href="ProtocolAdTracking.html">
            
                    
                    ProtocolAdTracking
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.104" data-path="ProtocolAnalytics.html">
            
                <a href="ProtocolAnalytics.html">
            
                    
                    ProtocolAnalytics
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.105" data-path="ProtocolCrash.html">
            
                <a href="ProtocolCrash.html">
            
                    
                    ProtocolCrash
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.106" data-path="ProtocolCustom.html">
            
                <a href="ProtocolCustom.html">
            
                    
                    ProtocolCustom
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.107" data-path="ProtocolIAP.html">
            
                <a href="ProtocolIAP.html">
            
                    
                    ProtocolIAP
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.108" data-path="ProtocolPush.html">
            
                <a href="ProtocolPush.html">
            
                    
                    ProtocolPush
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.109" data-path="ProtocolREC.html">
            
                <a href="ProtocolREC.html">
            
                    
                    ProtocolREC
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.110" data-path="ProtocolShare.html">
            
                <a href="ProtocolShare.html">
            
                    
                    ProtocolShare
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.111" data-path="ProtocolSocial.html">
            
                <a href="ProtocolSocial.html">
            
                    
                    ProtocolSocial
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.112" data-path="ProtocolUser.html">
            
                <a href="ProtocolUser.html">
            
                    
                    ProtocolUser
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.113" data-path="Quat.html">
            
                <a href="Quat.html">
            
                    
                    Quat
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.114" data-path="RawAsset.html">
            
                <a href="RawAsset.html">
            
                    
                    RawAsset
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.115" data-path="Rect.html">
            
                <a href="Rect.html">
            
                    
                    Rect
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.116" data-path="RenderComponent.html">
            
                <a href="RenderComponent.html">
            
                    
                    RenderComponent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.117" data-path="RenderTexture.html">
            
                <a href="RenderTexture.html">
            
                    
                    RenderTexture
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.118" data-path="ResolutionPolicy.html">
            
                <a href="ResolutionPolicy.html">
            
                    
                    ResolutionPolicy
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.119" data-path="RevoluteJoint.html">
            
                <a href="RevoluteJoint.html">
            
                    
                    RevoluteJoint
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.120" data-path="RichText.html">
            
                <a href="RichText.html">
            
                    
                    RichText
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.121" data-path="RigidBody.html">
            
                <a href="RigidBody.html">
            
                    
                    RigidBody
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.122" data-path="RopeJoint.html">
            
                <a href="RopeJoint.html">
            
                    
                    RopeJoint
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.123" data-path="Scene.html">
            
                <a href="Scene.html">
            
                    
                    Scene
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.124" data-path="SceneAsset.html">
            
                <a href="SceneAsset.html">
            
                    
                    SceneAsset
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.125" data-path="Scheduler.html">
            
                <a href="Scheduler.html">
            
                    
                    Scheduler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.126" data-path="screen.html">
            
                <a href="screen.html">
            
                    
                    screen
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.127" data-path="Scrollbar.html">
            
                <a href="Scrollbar.html">
            
                    
                    Scrollbar
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.128" data-path="ScrollView.html">
            
                <a href="ScrollView.html">
            
                    
                    ScrollView
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.129" data-path="Size.html">
            
                <a href="Size.html">
            
                    
                    Size
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.130" data-path="Skeleton.html">
            
                <a href="Skeleton.html">
            
                    
                    Skeleton
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.131" data-path="SkeletonData.html">
            
                <a href="SkeletonData.html">
            
                    
                    SkeletonData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.132" data-path="Slider.html">
            
                <a href="Slider.html">
            
                    
                    Slider
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.133" data-path="Sprite.html">
            
                <a href="Sprite.html">
            
                    
                    Sprite
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.134" data-path="SpriteAtlas.html">
            
                <a href="SpriteAtlas.html">
            
                    
                    SpriteAtlas
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.135" data-path="SpriteFrame.html">
            
                <a href="SpriteFrame.html">
            
                    
                    SpriteFrame
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.136" data-path="sys.html">
            
                <a href="sys.html">
            
                    
                    sys
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.137" data-path="SystemEvent.html">
            
                <a href="SystemEvent.html">
            
                    
                    SystemEvent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.138" data-path="SystemEvent.EventType.html">
            
                <a href="SystemEvent.EventType.html">
            
                    
                    SystemEvent.EventType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.139" data-path="TextAsset.html">
            
                <a href="TextAsset.html">
            
                    
                    TextAsset
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.140" data-path="Texture2D.html">
            
                <a href="Texture2D.html">
            
                    
                    Texture2D
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.141" data-path="TiledLayer.html">
            
                <a href="TiledLayer.html">
            
                    
                    TiledLayer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.142" data-path="TiledMap.html">
            
                <a href="TiledMap.html">
            
                    
                    TiledMap
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.143" data-path="TiledMapAsset.html">
            
                <a href="TiledMapAsset.html">
            
                    
                    TiledMapAsset
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.144" data-path="TiledObjectGroup.html">
            
                <a href="TiledObjectGroup.html">
            
                    
                    TiledObjectGroup
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.145" data-path="TiledTile.html">
            
                <a href="TiledTile.html">
            
                    
                    TiledTile
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.146" data-path="Toggle.html">
            
                <a href="Toggle.html">
            
                    
                    Toggle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.147" data-path="ToggleContainer.html">
            
                <a href="ToggleContainer.html">
            
                    
                    ToggleContainer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.148" data-path="ToggleGroup.html">
            
                <a href="ToggleGroup.html">
            
                    
                    ToggleGroup
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.149" data-path="Touch.html">
            
                <a href="Touch.html">
            
                    
                    Touch
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.150" data-path="TTFFont.html">
            
                <a href="TTFFont.html">
            
                    
                    TTFFont
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.151" data-path="TypeScript.html">
            
                <a href="TypeScript.html">
            
                    
                    TypeScript
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.152" data-path="url.html">
            
                <a href="url.html">
            
                    
                    url
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.153" data-path="ValueType.html">
            
                <a href="ValueType.html">
            
                    
                    ValueType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.154" data-path="Vec2.html">
            
                <a href="Vec2.html">
            
                    
                    Vec2
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.155" data-path="Vec3.html">
            
                <a href="Vec3.html">
            
                    
                    Vec3
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.156" data-path="VideoPlayer.html">
            
                <a href="VideoPlayer.html">
            
                    
                    VideoPlayer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.157" data-path="View.html">
            
                <a href="View.html">
            
                    
                    View
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.158" data-path="ViewGroup.html">
            
                <a href="ViewGroup.html">
            
                    
                    ViewGroup
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.159" data-path="visibleRect.html">
            
                <a href="visibleRect.html">
            
                    
                    visibleRect
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.160" data-path="WebView.html">
            
                <a href="WebView.html">
            
                    
                    WebView
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.161" data-path="WeldJoint.html">
            
                <a href="WeldJoint.html">
            
                    
                    WeldJoint
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.162" data-path="WheelJoint.html">
            
                <a href="WheelJoint.html">
            
                    
                    WheelJoint
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.163" data-path="Widget.html">
            
                <a href="Widget.html">
            
                    
                    Widget
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.164" data-path="WorldManifold.html">
            
                <a href="WorldManifold.html">
            
                    
                    WorldManifold
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">枚举</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../enums/AccountGender.html">
            
                <a href="../enums/AccountGender.html">
            
                    
                    AccountGender
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../enums/AccountOperate.html">
            
                <a href="../enums/AccountOperate.html">
            
                    
                    AccountOperate
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="../enums/AccountType.html">
            
                <a href="../enums/AccountType.html">
            
                    
                    AccountType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="../enums/AdsPos.html">
            
                <a href="../enums/AdsPos.html">
            
                    
                    AdsPos
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="../enums/AdsResultCode.html">
            
                <a href="../enums/AdsResultCode.html">
            
                    
                    AdsResultCode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.6" data-path="../enums/AdsType.html">
            
                <a href="../enums/AdsType.html">
            
                    
                    AdsType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.7" data-path="../enums/AnimationEventType.html">
            
                <a href="../enums/AnimationEventType.html">
            
                    
                    AnimationEventType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.8" data-path="../enums/audioEngine.AudioState.html">
            
                <a href="../enums/audioEngine.AudioState.html">
            
                    
                    audioEngine.AudioState
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.9" data-path="../enums/BlendFactor.html">
            
                <a href="../enums/BlendFactor.html">
            
                    
                    BlendFactor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.10" data-path="../enums/Button.Transition.html">
            
                <a href="../enums/Button.Transition.html">
            
                    
                    Button.Transition
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.11" data-path="../enums/Camera.ClearFlags.html">
            
                <a href="../enums/Camera.ClearFlags.html">
            
                    
                    Camera.ClearFlags
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.12" data-path="../enums/CustomResultCode.html">
            
                <a href="../enums/CustomResultCode.html">
            
                    
                    CustomResultCode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.13" data-path="../enums/DebugMode.html">
            
                <a href="../enums/DebugMode.html">
            
                    
                    DebugMode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.14" data-path="../enums/DrawBits.html">
            
                <a href="../enums/DrawBits.html">
            
                    
                    DrawBits
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.15" data-path="../enums/EditBox.InputFlag.html">
            
                <a href="../enums/EditBox.InputFlag.html">
            
                    
                    EditBox.InputFlag
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.16" data-path="../enums/EditBox.InputMode.html">
            
                <a href="../enums/EditBox.InputMode.html">
            
                    
                    EditBox.InputMode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.17" data-path="../enums/EditBox.KeyboardReturnType.html">
            
                <a href="../enums/EditBox.KeyboardReturnType.html">
            
                    
                    EditBox.KeyboardReturnType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.18" data-path="../enums/Graphics.LineCap.html">
            
                <a href="../enums/Graphics.LineCap.html">
            
                    
                    Graphics.LineCap
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.19" data-path="../enums/Graphics.LineJoin.html">
            
                <a href="../enums/Graphics.LineJoin.html">
            
                    
                    Graphics.LineJoin
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.20" data-path="../enums/ImageFormat.html">
            
                <a href="../enums/ImageFormat.html">
            
                    
                    ImageFormat
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.21" data-path="../enums/KEY.html">
            
                <a href="../enums/KEY.html">
            
                    
                    KEY
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.22" data-path="../enums/Label.HorizontalAlign.html">
            
                <a href="../enums/Label.HorizontalAlign.html">
            
                    
                    Label.HorizontalAlign
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.23" data-path="../enums/Label.Overflow.html">
            
                <a href="../enums/Label.Overflow.html">
            
                    
                    Label.Overflow
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.24" data-path="../enums/Label.Type.html">
            
                <a href="../enums/Label.Type.html">
            
                    
                    Label.Type
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.25" data-path="../enums/Label.VerticalAlign.html">
            
                <a href="../enums/Label.VerticalAlign.html">
            
                    
                    Label.VerticalAlign
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.26" data-path="../enums/Layout.AxisDirection.html">
            
                <a href="../enums/Layout.AxisDirection.html">
            
                    
                    Layout.AxisDirection
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.27" data-path="../enums/Layout.HorizontalDirection.html">
            
                <a href="../enums/Layout.HorizontalDirection.html">
            
                    
                    Layout.HorizontalDirection
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.28" data-path="../enums/Layout.ResizeMode.html">
            
                <a href="../enums/Layout.ResizeMode.html">
            
                    
                    Layout.ResizeMode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.29" data-path="../enums/Layout.Type.html">
            
                <a href="../enums/Layout.Type.html">
            
                    
                    Layout.Type
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.30" data-path="../enums/Layout.VerticalDirection.html">
            
                <a href="../enums/Layout.VerticalDirection.html">
            
                    
                    Layout.VerticalDirection
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.31" data-path="../enums/LoadingItems.ItemState.html">
            
                <a href="../enums/LoadingItems.ItemState.html">
            
                    
                    LoadingItems.ItemState
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.32" data-path="../enums/macro.html">
            
                <a href="../enums/macro.html">
            
                    
                    macro
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.33" data-path="../enums/Mask.Type.html">
            
                <a href="../enums/Mask.Type.html">
            
                    
                    Mask.Type
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.34" data-path="../enums/NetworkType.html">
            
                <a href="../enums/NetworkType.html">
            
                    
                    NetworkType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.35" data-path="../enums/Node.EventType.html">
            
                <a href="../enums/Node.EventType.html">
            
                    
                    Node.EventType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.36" data-path="../enums/PageView.Direction.html">
            
                <a href="../enums/PageView.Direction.html">
            
                    
                    PageView.Direction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.37" data-path="../enums/PageView.EventType.html">
            
                <a href="../enums/PageView.EventType.html">
            
                    
                    PageView.EventType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.38" data-path="../enums/PageView.SizeMode.html">
            
                <a href="../enums/PageView.SizeMode.html">
            
                    
                    PageView.SizeMode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.39" data-path="../enums/PageViewIndicator.Direction.html">
            
                <a href="../enums/PageViewIndicator.Direction.html">
            
                    
                    PageViewIndicator.Direction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.40" data-path="../enums/ParticleSystem.EmitterMode.html">
            
                <a href="../enums/ParticleSystem.EmitterMode.html">
            
                    
                    ParticleSystem.EmitterMode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.41" data-path="../enums/ParticleSystem.PositionType.html">
            
                <a href="../enums/ParticleSystem.PositionType.html">
            
                    
                    ParticleSystem.PositionType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.42" data-path="../enums/PayResultCode.html">
            
                <a href="../enums/PayResultCode.html">
            
                    
                    PayResultCode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.43" data-path="../enums/Prefab.OptimizationPolicy.html">
            
                <a href="../enums/Prefab.OptimizationPolicy.html">
            
                    
                    Prefab.OptimizationPolicy
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.44" data-path="../enums/ProgressBar.Mode.html">
            
                <a href="../enums/ProgressBar.Mode.html">
            
                    
                    ProgressBar.Mode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.45" data-path="../enums/PushActionResultCode.html">
            
                <a href="../enums/PushActionResultCode.html">
            
                    
                    PushActionResultCode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.46" data-path="../enums/RayCastType.html">
            
                <a href="../enums/RayCastType.html">
            
                    
                    RayCastType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.47" data-path="../enums/RECResultCode.html">
            
                <a href="../enums/RECResultCode.html">
            
                    
                    RECResultCode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.48" data-path="../enums/RigidBodyType.html">
            
                <a href="../enums/RigidBodyType.html">
            
                    
                    RigidBodyType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.49" data-path="../enums/Scrollbar.Direction.html">
            
                <a href="../enums/Scrollbar.Direction.html">
            
                    
                    Scrollbar.Direction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.50" data-path="../enums/ScrollView.EventType.html">
            
                <a href="../enums/ScrollView.EventType.html">
            
                    
                    ScrollView.EventType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.51" data-path="../enums/ShareResultCode.html">
            
                <a href="../enums/ShareResultCode.html">
            
                    
                    ShareResultCode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.52" data-path="../enums/Slider.Direction.html">
            
                <a href="../enums/Slider.Direction.html">
            
                    
                    Slider.Direction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.53" data-path="../enums/SocialRetCode.html">
            
                <a href="../enums/SocialRetCode.html">
            
                    
                    SocialRetCode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.54" data-path="../enums/Sprite.FillType.html">
            
                <a href="../enums/Sprite.FillType.html">
            
                    
                    Sprite.FillType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.55" data-path="../enums/Sprite.SizeMode.html">
            
                <a href="../enums/Sprite.SizeMode.html">
            
                    
                    Sprite.SizeMode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.56" data-path="../enums/Sprite.Type.html">
            
                <a href="../enums/Sprite.Type.html">
            
                    
                    Sprite.Type
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.57" data-path="../enums/TaskType.html">
            
                <a href="../enums/TaskType.html">
            
                    
                    TaskType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.58" data-path="../enums/TextAlignment.html">
            
                <a href="../enums/TextAlignment.html">
            
                    
                    TextAlignment
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.59" data-path="../enums/Texture2D.Filter.html">
            
                <a href="../enums/Texture2D.Filter.html">
            
                    
                    Texture2D.Filter
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.60" data-path="../enums/Texture2D.PixelFormat.html">
            
                <a href="../enums/Texture2D.PixelFormat.html">
            
                    
                    Texture2D.PixelFormat
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.61" data-path="../enums/Texture2D.WrapMode.html">
            
                <a href="../enums/Texture2D.WrapMode.html">
            
                    
                    Texture2D.WrapMode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.62" data-path="../enums/TiledMap.Orientation.html">
            
                <a href="../enums/TiledMap.Orientation.html">
            
                    
                    TiledMap.Orientation
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.63" data-path="../enums/ToolBarPlace.html">
            
                <a href="../enums/ToolBarPlace.html">
            
                    
                    ToolBarPlace
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.64" data-path="../enums/UserActionResultCode.html">
            
                <a href="../enums/UserActionResultCode.html">
            
                    
                    UserActionResultCode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.65" data-path="../enums/VerticalTextAlignment.html">
            
                <a href="../enums/VerticalTextAlignment.html">
            
                    
                    VerticalTextAlignment
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.66" data-path="../enums/VideoPlayer.EventType.html">
            
                <a href="../enums/VideoPlayer.EventType.html">
            
                    
                    VideoPlayer.EventType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.67" data-path="../enums/VideoPlayer.ResourceType.html">
            
                <a href="../enums/VideoPlayer.ResourceType.html">
            
                    
                    VideoPlayer.ResourceType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.68" data-path="../enums/WebView.EventType.html">
            
                <a href="../enums/WebView.EventType.html">
            
                    
                    WebView.EventType
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.69" data-path="../enums/Widget.AlignMode.html">
            
                <a href="../enums/Widget.AlignMode.html">
            
                    
                    Widget.AlignMode
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.70" data-path="../enums/WrapMode.html">
            
                <a href="../enums/WrapMode.html">
            
                    
                    WrapMode
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">Editor API</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="../editor/asset-db.html">
            
                <a href="../editor/asset-db.html">
            
                    
                    AssetDB
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">Main Process</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="../editor/main/editor.html">
            
                <a href="../editor/main/editor.html">
            
                    
                    Editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="../editor/main/console.html">
            
                <a href="../editor/main/console.html">
            
                    
                    Editor (Console Module)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3" data-path="../editor/main/app.html">
            
                <a href="../editor/main/app.html">
            
                    
                    Editor.App
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.4" data-path="../editor/main/debugger.html">
            
                <a href="../editor/main/debugger.html">
            
                    
                    Editor.Debugger
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.5" data-path="../editor/main/devtools.html">
            
                <a href="../editor/main/devtools.html">
            
                    
                    Editor.DevTools
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.6" data-path="../editor/main/dialog.html">
            
                <a href="../editor/main/dialog.html">
            
                    
                    Editor.Dialog
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.7" data-path="../editor/main/ipc.html">
            
                <a href="../editor/main/ipc.html">
            
                    
                    Editor.Ipc
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.8" data-path="../editor/main/main-menu.html">
            
                <a href="../editor/main/main-menu.html">
            
                    
                    Editor.MainMenu
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.9" data-path="../editor/main/menu.html">
            
                <a href="../editor/main/menu.html">
            
                    
                    Editor.Menu
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.10" data-path="../editor/main/package.html">
            
                <a href="../editor/main/package.html">
            
                    
                    Editor.Package
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.11" data-path="../editor/main/panel.html">
            
                <a href="../editor/main/panel.html">
            
                    
                    Editor.Panel
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.12" data-path="../editor/main/profile.html">
            
                <a href="../editor/main/profile.html">
            
                    
                    Editor.Profile
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.13" data-path="../editor/main/protocol.html">
            
                <a href="../editor/main/protocol.html">
            
                    
                    Editor.Protocol
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.14" data-path="../editor/main/window.html">
            
                <a href="../editor/main/window.html">
            
                    
                    Editor.Window
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.15" data-path="../editor/main/worker.html">
            
                <a href="../editor/main/worker.html">
            
                    
                    Editor.Worker
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">Renderer Process (Web Page)</li>
        
        
    
        <li class="chapter " data-level="6.1" data-path="../editor/renderer/editor.html">
            
                <a href="../editor/renderer/editor.html">
            
                    
                    Editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.2" data-path="../editor/renderer/console.html">
            
                <a href="../editor/renderer/console.html">
            
                    
                    Editor (Console Module)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.3" data-path="../editor/renderer/audio.md">
            
                <span>
            
                    
                    Editor.Audio
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.4" data-path="../editor/renderer/dialog.html">
            
                <a href="../editor/renderer/dialog.html">
            
                    
                    Editor.Dialog
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.5" data-path="../editor/renderer/ipc.html">
            
                <a href="../editor/renderer/ipc.html">
            
                    
                    Editor.Ipc
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.6" data-path="../editor/renderer/main-menu.html">
            
                <a href="../editor/renderer/main-menu.html">
            
                    
                    Editor.MainMenu
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.7" data-path="../editor/renderer/menu.html">
            
                <a href="../editor/renderer/menu.html">
            
                    
                    Editor.Menu
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.8" data-path="../editor/renderer/package.html">
            
                <a href="../editor/renderer/package.html">
            
                    
                    Editor.Package
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.9" data-path="../editor/renderer/panel.html">
            
                <a href="../editor/renderer/panel.html">
            
                    
                    Editor.Panel
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.10" data-path="../editor/renderer/protocol.html">
            
                <a href="../editor/renderer/protocol.html">
            
                    
                    Editor.Protocol
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.11" data-path="../editor/renderer/window.html">
            
                <a href="../editor/renderer/window.html">
            
                    
                    Editor.Window
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.12" data-path="../editor/renderer/ui/dom-utils.html">
            
                <a href="../editor/renderer/ui/dom-utils.html">
            
                    
                    Editor.UI (DOM Utils Module)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.13" data-path="../editor/renderer/ui/element-utils.html">
            
                <a href="../editor/renderer/ui/element-utils.html">
            
                    
                    Editor.UI (Element Utils Module)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.14" data-path="../editor/renderer/ui/focus-mgr.html">
            
                <a href="../editor/renderer/ui/focus-mgr.html">
            
                    
                    Editor.UI (Focus Module)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.15" data-path="../editor/renderer/ui/resource-mgr.html">
            
                <a href="../editor/renderer/ui/resource-mgr.html">
            
                    
                    Editor.UI (Resources Module)
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.16" data-path="../editor/renderer/ui/settings.html">
            
                <a href="../editor/renderer/ui/settings.html">
            
                    
                    Editor.UI.Settings
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.17" data-path="../editor/renderer/ui/dock-utils.html">
            
                <a href="../editor/renderer/ui/dock-utils.html">
            
                    
                    Editor.UI.DockUtils
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.18" data-path="../editor/renderer/ui/drag-drop.html">
            
                <a href="../editor/renderer/ui/drag-drop.html">
            
                    
                    Editor.UI.DragDrop
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">Modules for Both Processes</li>
        
        
    
        <li class="chapter " data-level="7.1" data-path="../editor/share/editor.html">
            
                <a href="../editor/share/editor.html">
            
                    
                    Editor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2" data-path="../editor/share/easing.html">
            
                <a href="../editor/share/easing.html">
            
                    
                    Editor.Easing
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.3" data-path="../editor/share/ipc-listener.html">
            
                <a href="../editor/share/ipc-listener.html">
            
                    
                    Editor.IpcListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.4" data-path="../editor/share/js-utils.html">
            
                <a href="../editor/share/js-utils.html">
            
                    
                    Editor.JS
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.5" data-path="../editor/share/math.html">
            
                <a href="../editor/share/math.html">
            
                    
                    Editor.Math
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.6" data-path="../editor/share/selection.html">
            
                <a href="../editor/share/selection.html">
            
                    
                    Editor.Selection
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.7" data-path="../editor/share/undo.html">
            
                <a href="../editor/share/undo.html">
            
                    
                    Editor.Undo
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.8" data-path="../editor/share/utils.html">
            
                <a href="../editor/share/utils.html">
            
                    
                    Editor.Utils
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.9" data-path="../editor/share/i18n.html">
            
                <a href="../editor/share/i18n.html">
            
                    
                    Editor.i18n
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        

    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
    <div class="page-wrapper" tabindex="-1" role="main">
            

<div class="cocos-navbar navbar-collapse clearfix" id="navbar" role="navigation">
    <ul class="nav navbar-nav">
        <li><a href="http://cocos.com" class="btn" target="_blank"><img src="http://forum.cocos.com/images/logo.png" height="30" /></a></li>
        <li><a href="#" class="btn autohide" onclick="toggleLanguage()">English</a></li>           

    
    <li>
        <a href="#" class="btn autohide"><i class="fa fa-book"></i>Cocos Creator</a>
        <ul class="hovershow">
            
            <li><a href="http://docs.cocos.com/creator/manual/zh" class="btn">手册文档</a></li>
            
            <li><a href="http://docs.cocos.com/creator/api/zh" class="btn">API 参考</a></li>
            
        </ul>
    </li>                
    

    
    <li>
        <a href="#" class="btn autohide"><i class="fa fa-book"></i>Cocos2d-x</a>
        <ul class="hovershow">
            
            <li><a href="http://docs.cocos.com/cocos2d-x/manual/zh" class="btn">手册文档</a></li>
            
            <li><a href="http://www.cocos2d-x.org/docs/api-ref/index.html" class="btn">API 参考</a></li>
            
        </ul>
    </li>                
    

    
    <li><a href="http://docs.anysdk.com/" class="btn autohide"><i class="fa fa-book"></i>AnySDK</a></li>
    


    
    <li class="version-link">
        <a class="btn" style="color:#444">Version: <span style="font-weight:bold">2.0 Preview</span></a>
        <ul class="hovershow">
            
            <li><a href="http://docs.cocos.com/creator/api/zh" class="btn">Version: <span style="font-weight:bold">1.x</span></a></li>
            
            <li><a href="http://docs.cocos.com/creator/api/2.0/zh" class="btn">Version: <span style="font-weight:bold">2.0 Preview</span></a></li>
            
        </ul>
    </li>                
    
   
    </ul>
</div>
<div class="book-header" role="navigation">
    
    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >PrivateNode</a>
    </h1>
</div>



        <div class="page-inner">
            
                <section class="normal markdown-section">
                
                <h2 id="privatenode-&#x7C7B;&#x578B;"><code>PrivateNode</code> &#x7C7B;&#x578B;</h2>
<p>&#x7EE7;&#x627F;&#x4E8E; <a href="Node.html"><code>Node</code></a></p>
<p>&#x6A21;&#x5757;: <a href="../modules/cc.html">cc</a></p>
<p>Cocos Creator &#x573A;&#x666F;&#x4E2D;&#x7684;&#x79C1;&#x6709;&#x8282;&#x70B9;&#x7C7B;&#x3002;<br>
&#x79C1;&#x6709;&#x8282;&#x70B9;&#x5728;&#x7F16;&#x8F91;&#x5668;&#x4E2D;&#x4E0D;&#x53EF;&#x89C1;&#xFF0C;&#x5BF9;&#x7528;&#x6237;&#x900F;&#x660E;&#x3002;<br>
&#x901A;&#x5E38;&#x79C1;&#x6709;&#x8282;&#x70B9;&#x662F;&#x88AB;&#x4E00;&#x4E9B;&#x7279;&#x6B8A;&#x7684;&#x7EC4;&#x4EF6;&#x521B;&#x5EFA;&#x51FA;&#x6765;&#x4F5C;&#x4E3A;&#x7236;&#x8282;&#x70B9;&#x7684;&#x4E00;&#x90E8;&#x5206;&#x800C;&#x5B58;&#x5728;&#x7684;&#xFF0C;&#x7406;&#x8BBA;&#x4E0A;&#x6765;&#x8BF4;&#xFF0C;&#x5B83;&#x4EEC;&#x4E0D;&#x662F;&#x5B50;&#x8282;&#x70B9;&#xFF0C;&#x800C;&#x662F;&#x7236;&#x8282;&#x70B9;&#x7684;&#x7EC4;&#x6210;&#x90E8;&#x5206;&#x3002;<br>
&#x79C1;&#x6709;&#x8282;&#x70B9;&#x6709;&#x4E24;&#x4E2A;&#x975E;&#x5E38;&#x91CD;&#x8981;&#x7684;&#x7279;&#x6027;&#xFF1A;<br></p>
<ol>
<li>&#x5B83;&#x6709;&#x7740;&#x6700;&#x5C0F;&#x7684;&#x6E32;&#x67D3;&#x6392;&#x5E8F;&#x7684; Z &#x8F74;&#x6DF1;&#x5EA6;&#xFF0C;&#x5E76;&#x4E14;&#x65E0;&#x6CD5;&#x88AB;&#x66F4;&#x6539;&#xFF0C;&#x56E0;&#x4E3A;&#x5B83;&#x4EEC;&#x4E0D;&#x80FD;&#x88AB;&#x663E;&#x793A;&#x5728;&#x5176;&#x4ED6;&#x6B63;&#x5E38;&#x5B50;&#x8282;&#x70B9;&#x4E4B;&#x4E0A;&#x3002;<br></li>
<li>&#x5B83;&#x7684;&#x5B9A;&#x4F4D;&#x4E5F;&#x662F;&#x7279;&#x6B8A;&#x7684;&#xFF0C;&#x5BF9;&#x4E8E;&#x79C1;&#x6709;&#x8282;&#x70B9;&#x6765;&#x8BF4;&#xFF0C;&#x7236;&#x8282;&#x70B9;&#x5305;&#x56F4;&#x76D2;&#x7684;&#x5DE6;&#x4E0B;&#x89D2;&#x662F;&#x5B83;&#x7684;&#x5C40;&#x90E8;&#x5750;&#x6807;&#x7CFB;&#x539F;&#x70B9;&#xFF0C;&#x8FD9;&#x4E2A;&#x539F;&#x70B9;&#x76F8;&#x5F53;&#x4E8E;&#x7236;&#x8282;&#x70B9;&#x7684;&#x4F4D;&#x7F6E;&#x51CF;&#x53BB;&#x5B83;&#x951A;&#x70B9;&#x7684;&#x504F;&#x79FB;&#x3002;&#x8FD9;&#x6837;&#x79C1;&#x6709;&#x8282;&#x70B9;&#x53EF;&#x4EE5;&#x6BD4;&#x8F83;&#x5BB9;&#x6613;&#x88AB;&#x63A7;&#x5236;&#x5728;&#x5305;&#x56F4;&#x76D2;&#x4E4B;&#x4E2D;&#x3002;<br>
&#x76EE;&#x524D;&#x5728;&#x5F15;&#x64CE;&#x4E2D;&#xFF0C;RichText &#x548C; TileMap &#x90FD;&#x6709;&#x53EF;&#x80FD;&#x751F;&#x6210;&#x79C1;&#x6709;&#x8282;&#x70B9;&#x3002;</li>
</ol>
<h3 id="&#x7D22;&#x5F15;">&#x7D22;&#x5F15;</h3>
<h5 id="&#x5C5E;&#x6027;&#xFF08;properties&#xFF09;">&#x5C5E;&#x6027;&#xFF08;properties&#xFF09;</h5>
<ul>
<li><a href="#groupindex"><code>groupIndex</code></a> <code>Integer</code> </li>
<li><a href="#group"><code>group</code></a> <code>String</code> </li>
<li><a href="#position"><code>position</code></a> <code>Vec2</code> </li>
<li><a href="#x"><code>x</code></a> <code>Number</code> </li>
<li><a href="#y"><code>y</code></a> <code>Number</code> </li>
<li><a href="#rotation"><code>rotation</code></a> <code>Number</code> </li>
<li><a href="#rotationx"><code>rotationX</code></a> <code>Number</code> </li>
<li><a href="#rotationy"><code>rotationY</code></a> <code>Number</code> </li>
<li><a href="#scale"><code>scale</code></a> <code>Number</code> </li>
<li><a href="#scalex"><code>scaleX</code></a> <code>Number</code> </li>
<li><a href="#scaley"><code>scaleY</code></a> <code>Number</code> </li>
<li><a href="#skewx"><code>skewX</code></a> <code>Number</code> </li>
<li><a href="#skewy"><code>skewY</code></a> <code>Number</code> </li>
<li><a href="#opacity"><code>opacity</code></a> <code>Number</code> </li>
<li><a href="#color"><code>color</code></a> <code>Color</code> </li>
<li><a href="#anchorx"><code>anchorX</code></a> <code>Number</code> </li>
<li><a href="#anchory"><code>anchorY</code></a> <code>Number</code> </li>
<li><a href="#width"><code>width</code></a> <code>Number</code> </li>
<li><a href="#height"><code>height</code></a> <code>Number</code> </li>
<li><a href="#zindex"><code>zIndex</code></a> <code>Number</code> </li>
<li><a href="#cascadeopacity"><code>cascadeOpacity</code></a> <code>Boolean</code> </li>
<li><a href="#level"><code>_level</code></a> <code>Number</code> </li>
<li><a href="#components"><code>_components</code></a> <code>Component[]</code> </li>
<li><a href="#prefab"><code>_prefab</code></a> <code>PrefabInfo</code> </li>
<li><a href="#persistnode"><code>_persistNode</code></a> <code>Boolean</code> </li>
<li><a href="#name"><code>name</code></a> <code>String</code> </li>
<li><a href="#uuid"><code>uuid</code></a> <code>String</code> </li>
<li><a href="#children"><code>children</code></a> <code>Node[]</code> </li>
<li><a href="#childrencount"><code>childrenCount</code></a> <code>Number</code> </li>
<li><a href="#active"><code>active</code></a> <code>Boolean</code> </li>
<li><a href="#activeinhierarchy"><code>activeInHierarchy</code></a> <code>Boolean</code> </li>
<li><a href="#eventtargets"><code>__eventTargets</code></a> <code>EventTarget[]</code> </li>
<li><a href="#parent"><code>parent</code></a> <code>Node</code> </li>
<li><a href="#name"><code>_name</code></a> <code>String</code> </li>
<li><a href="#objflags"><code>_objFlags</code></a> <code>Number</code> </li>
<li><a href="#isvalid"><code>isValid</code></a> <code>Boolean</code> </li>
</ul>
<h5 id="&#x65B9;&#x6CD5;">&#x65B9;&#x6CD5;</h5>
<ul>
<li><a href="#constructor"><code>constructor</code></a> </li>
<li><a href="#on"><code>on</code></a> </li>
<li><a href="#off"><code>off</code></a> </li>
<li><a href="#targetoff"><code>targetOff</code></a> </li>
<li><a href="#haseventlistener"><code>hasEventListener</code></a> </li>
<li><a href="#emit"><code>emit</code></a> </li>
<li><a href="#dispatchevent"><code>dispatchEvent</code></a> </li>
<li><a href="#pausesystemevents"><code>pauseSystemEvents</code></a> </li>
<li><a href="#resumesystemevents"><code>resumeSystemEvents</code></a> </li>
<li><a href="#getcapturingtargets"><code>_getCapturingTargets</code></a> </li>
<li><a href="#getbubblingtargets"><code>_getBubblingTargets</code></a> </li>
<li><a href="#runaction"><code>runAction</code></a> </li>
<li><a href="#pauseallactions"><code>pauseAllActions</code></a> </li>
<li><a href="#resumeallactions"><code>resumeAllActions</code></a> </li>
<li><a href="#stopallactions"><code>stopAllActions</code></a> </li>
<li><a href="#stopaction"><code>stopAction</code></a> </li>
<li><a href="#stopactionbytag"><code>stopActionByTag</code></a> </li>
<li><a href="#getactionbytag"><code>getActionByTag</code></a> </li>
<li><a href="#getnumberofrunningactions"><code>getNumberOfRunningActions</code></a> </li>
<li><a href="#getposition"><code>getPosition</code></a> </li>
<li><a href="#setposition"><code>setPosition</code></a> </li>
<li><a href="#getscale"><code>getScale</code></a> </li>
<li><a href="#setscale"><code>setScale</code></a> </li>
<li><a href="#setrotation"><code>setRotation</code></a> </li>
<li><a href="#getrotation"><code>getRotation</code></a> </li>
<li><a href="#getcontentsize"><code>getContentSize</code></a> </li>
<li><a href="#setcontentsize"><code>setContentSize</code></a> </li>
<li><a href="#getanchorpoint"><code>getAnchorPoint</code></a> </li>
<li><a href="#setanchorpoint"><code>setAnchorPoint</code></a> </li>
<li><a href="#lookat"><code>lookAt</code></a> </li>
<li><a href="#getlocalmatrix"><code>getLocalMatrix</code></a> </li>
<li><a href="#converttonodespace"><code>convertToNodeSpace</code></a> </li>
<li><a href="#converttoworldspace"><code>convertToWorldSpace</code></a> </li>
<li><a href="#converttonodespacear"><code>convertToNodeSpaceAR</code></a> </li>
<li><a href="#converttoworldspacear"><code>convertToWorldSpaceAR</code></a> </li>
<li><a href="#getnodetoparenttransform"><code>getNodeToParentTransform</code></a> </li>
<li><a href="#getnodetoparenttransformar"><code>getNodeToParentTransformAR</code></a> </li>
<li><a href="#getnodetoworldtransform"><code>getNodeToWorldTransform</code></a> </li>
<li><a href="#getnodetoworldtransformar"><code>getNodeToWorldTransformAR</code></a> </li>
<li><a href="#getparenttonodetransform"><code>getParentToNodeTransform</code></a> </li>
<li><a href="#getworldtonodetransform"><code>getWorldToNodeTransform</code></a> </li>
<li><a href="#converttouchtonodespace"><code>convertTouchToNodeSpace</code></a> </li>
<li><a href="#converttouchtonodespacear"><code>convertTouchToNodeSpaceAR</code></a> </li>
<li><a href="#getboundingbox"><code>getBoundingBox</code></a> </li>
<li><a href="#getboundingboxtoworld"><code>getBoundingBoxToWorld</code></a> </li>
<li><a href="#addchild"><code>addChild</code></a> </li>
<li><a href="#cleanup"><code>cleanup</code></a> </li>
<li><a href="#sortallchildren"><code>sortAllChildren</code></a> </li>
<li><a href="#getdisplayedopacity"><code>getDisplayedOpacity</code></a> </li>
<li><a href="#getdisplayedcolor"><code>getDisplayedColor</code></a> </li>
<li><a href="#iscascadeopacityenabled"><code>isCascadeOpacityEnabled</code></a> </li>
<li><a href="#setcascadeopacityenabled"><code>setCascadeOpacityEnabled</code></a> </li>
<li><a href="#setopacitymodifyrgb"><code>setOpacityModifyRGB</code></a> </li>
<li><a href="#isopacitymodifyrgb"><code>isOpacityModifyRGB</code></a> </li>
<li><a href="#attr"><code>attr</code></a> </li>
<li><a href="#getchildbyuuid"><code>getChildByUuid</code></a> </li>
<li><a href="#getchildbyname"><code>getChildByName</code></a> </li>
<li><a href="#insertchild"><code>insertChild</code></a> </li>
<li><a href="#getsiblingindex"><code>getSiblingIndex</code></a> </li>
<li><a href="#setsiblingindex"><code>setSiblingIndex</code></a> </li>
<li><a href="#walkthechildtree"><code>Walk the child tree</code></a> </li>
<li><a href="#removefromparent"><code>removeFromParent</code></a> </li>
<li><a href="#removechild"><code>removeChild</code></a> </li>
<li><a href="#removeallchildren"><code>removeAllChildren</code></a> </li>
<li><a href="#ischildof"><code>isChildOf</code></a> </li>
<li><a href="#getcomponent"><code>getComponent</code></a> </li>
<li><a href="#getcomponents"><code>getComponents</code></a> </li>
<li><a href="#getcomponentinchildren"><code>getComponentInChildren</code></a> </li>
<li><a href="#getcomponentsinchildren"><code>getComponentsInChildren</code></a> </li>
<li><a href="#addcomponent"><code>addComponent</code></a> </li>
<li><a href="#addcomponentat"><code>_addComponentAt</code></a> </li>
<li><a href="#removecomponent"><code>removeComponent</code></a> </li>
<li><a href="#getdependcomponent"><code>_getDependComponent</code></a> </li>
<li><a href="#destroyallchildren"><code>destroyAllChildren</code></a> </li>
<li><a href="#once"><code>once</code></a> </li>
<li><a href="#destroy"><code>destroy</code></a> </li>
<li><a href="#destruct"><code>_destruct</code></a> </li>
<li><a href="#onpredestroy"><code>_onPreDestroy</code></a> </li>
<li><a href="#serialize"><code>_serialize</code></a> </li>
<li><a href="#deserialize"><code>_deserialize</code></a> </li>
</ul>
<h5 id="&#x4E8B;&#x4EF6;">&#x4E8B;&#x4EF6;</h5>
<ul>
<li><a href="#position-changed"><code>position-changed</code></a> </li>
<li><a href="#size-changed"><code>size-changed</code></a> </li>
<li><a href="#anchor-changed"><code>anchor-changed</code></a> </li>
<li><a href="#child-added"><code>child-added</code></a> </li>
<li><a href="#child-removed"><code>child-removed</code></a> </li>
<li><a href="#child-reorder"><code>child-reorder</code></a> </li>
<li><a href="#group-changed"><code>group-changed</code></a> </li>
<li><a href="#active-in-hierarchy-changed"><code>active-in-hierarchy-changed</code></a> </li>
</ul>
<h3 id="details">Details</h3>
<h4 id="&#x5C5E;&#x6027;&#xFF08;properties&#xFF09;">&#x5C5E;&#x6027;&#xFF08;properties&#xFF09;</h4>
<h5 id="groupindex">groupIndex</h5>
<blockquote>
<p>&#x8282;&#x70B9;&#x7684;&#x5206;&#x7EC4;&#x7D22;&#x5F15;&#x3002;<br>
&#x8282;&#x70B9;&#x7684;&#x5206;&#x7EC4;&#x5C06;&#x5173;&#x7CFB;&#x5230;&#x8282;&#x70B9;&#x7684;&#x78B0;&#x649E;&#x7EC4;&#x4EF6;&#x53EF;&#x4EE5;&#x4E0E;&#x54EA;&#x4E9B;&#x78B0;&#x649E;&#x7EC4;&#x4EF6;&#x76F8;&#x78B0;&#x649E;&#x3002;<br></p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td>Integer</td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L542" target="_blank">cocos2d/core/CCNode.js:542</a></td>
</tr>
</tbody>
</table>
<h5 id="group">group</h5>
<blockquote>
<p>&#x8282;&#x70B9;&#x7684;&#x5206;&#x7EC4;&#x3002;<br>
&#x8282;&#x70B9;&#x7684;&#x5206;&#x7EC4;&#x5C06;&#x5173;&#x7CFB;&#x5230;&#x8282;&#x70B9;&#x7684;&#x78B0;&#x649E;&#x7EC4;&#x4EF6;&#x53EF;&#x4EE5;&#x4E0E;&#x54EA;&#x4E9B;&#x78B0;&#x649E;&#x7EC4;&#x4EF6;&#x76F8;&#x78B0;&#x649E;&#x3002;<br></p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L558" target="_blank">cocos2d/core/CCNode.js:558</a></td>
</tr>
</tbody>
</table>
<h5 id="position">position</h5>
<blockquote>
<p>&#x8282;&#x70B9;&#x5728;&#x7236;&#x8282;&#x70B9;&#x5750;&#x6807;&#x7CFB;&#x4E2D;&#x7684;&#x4F4D;&#x7F6E;&#xFF08;x, y&#xFF09;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="Vec2.html" class="crosslink">Vec2</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L581" target="_blank">cocos2d/core/CCNode.js:581</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">cc.log(<span class="hljs-string">&quot;Node Position: &quot;</span> + node.position);
</code></pre>
<h5 id="x">x</h5>
<blockquote>
<p>&#x8282;&#x70B9; X &#x8F74;&#x5750;&#x6807;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L589" target="_blank">cocos2d/core/CCNode.js:589</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.x = <span class="hljs-number">100</span>;
cc.log(<span class="hljs-string">&quot;Node Position X: &quot;</span> + node.x);
</code></pre>
<h5 id="y">y</h5>
<blockquote>
<p>&#x8282;&#x70B9; Y &#x8F74;&#x5750;&#x6807;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L632" target="_blank">cocos2d/core/CCNode.js:632</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.y = <span class="hljs-number">100</span>;
cc.log(<span class="hljs-string">&quot;Node Position Y: &quot;</span> + node.y);
</code></pre>
<h5 id="rotation">rotation</h5>
<blockquote>
<p>&#x8BE5;&#x8282;&#x70B9;&#x65CB;&#x8F6C;&#x89D2;&#x5EA6;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L698" target="_blank">cocos2d/core/CCNode.js:698</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.rotation = <span class="hljs-number">90</span>;
cc.log(<span class="hljs-string">&quot;Node Rotation: &quot;</span> + node.rotation);
</code></pre>
<h5 id="rotationx">rotationX</h5>
<blockquote>
<p>&#x8BE5;&#x8282;&#x70B9; X &#x8F74;&#x65CB;&#x8F6C;&#x89D2;&#x5EA6;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L729" target="_blank">cocos2d/core/CCNode.js:729</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.rotationX = <span class="hljs-number">45</span>;
cc.log(<span class="hljs-string">&quot;Node Rotation X: &quot;</span> + node.rotationX);
</code></pre>
<h5 id="rotationy">rotationY</h5>
<blockquote>
<p>&#x8BE5;&#x8282;&#x70B9; Y &#x8F74;&#x65CB;&#x8F6C;&#x89D2;&#x5EA6;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L762" target="_blank">cocos2d/core/CCNode.js:762</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.rotationY = <span class="hljs-number">45</span>;
cc.log(<span class="hljs-string">&quot;Node Rotation Y: &quot;</span> + node.rotationY);
</code></pre>
<h5 id="scale">scale</h5>
<blockquote>
<p>&#x8282;&#x70B9;&#x76F8;&#x5BF9;&#x7236;&#x8282;&#x70B9;&#x7684;&#x7F29;&#x653E;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L795" target="_blank">cocos2d/core/CCNode.js:795</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.scale = <span class="hljs-number">1</span>;
</code></pre>
<h5 id="scalex">scaleX</h5>
<blockquote>
<p>&#x8282;&#x70B9; X &#x8F74;&#x7F29;&#x653E;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L804" target="_blank">cocos2d/core/CCNode.js:804</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.scaleX = <span class="hljs-number">0.5</span>;
cc.log(<span class="hljs-string">&quot;Node Scale X: &quot;</span> + node.scaleX);
</code></pre>
<h5 id="scaley">scaleY</h5>
<blockquote>
<p>&#x8282;&#x70B9; Y &#x8F74;&#x7F29;&#x653E;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L830" target="_blank">cocos2d/core/CCNode.js:830</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.scaleY = <span class="hljs-number">0.5</span>;
cc.log(<span class="hljs-string">&quot;Node Scale Y: &quot;</span> + node.scaleY);
</code></pre>
<h5 id="skewx">skewX</h5>
<blockquote>
<p>&#x8BE5;&#x8282;&#x70B9; Y &#x8F74;&#x503E;&#x659C;&#x89D2;&#x5EA6;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L856" target="_blank">cocos2d/core/CCNode.js:856</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.skewX = <span class="hljs-number">0</span>;
cc.log(<span class="hljs-string">&quot;Node SkewX: &quot;</span> + node.skewX);
</code></pre>
<h5 id="skewy">skewY</h5>
<blockquote>
<p>&#x8BE5;&#x8282;&#x70B9; X &#x8F74;&#x503E;&#x659C;&#x89D2;&#x5EA6;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L876" target="_blank">cocos2d/core/CCNode.js:876</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.skewY = <span class="hljs-number">0</span>;
cc.log(<span class="hljs-string">&quot;Node SkewY: &quot;</span> + node.skewY);
</code></pre>
<h5 id="opacity">opacity</h5>
<blockquote>
<p>&#x8282;&#x70B9;&#x900F;&#x660E;&#x5EA6;&#xFF0C;&#x9ED8;&#x8BA4;&#x503C;&#x4E3A; 255&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L896" target="_blank">cocos2d/core/CCNode.js:896</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.opacity = <span class="hljs-number">255</span>;
</code></pre>
<h5 id="color">color</h5>
<blockquote>
<p>&#x8282;&#x70B9;&#x989C;&#x8272;&#x3002;&#x9ED8;&#x8BA4;&#x4E3A;&#x767D;&#x8272;&#xFF0C;&#x6570;&#x503C;&#x4E3A;&#xFF1A;&#xFF08;255&#xFF0C;255&#xFF0C;255&#xFF09;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="Color.html" class="crosslink">Color</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L917" target="_blank">cocos2d/core/CCNode.js:917</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.color = <span class="hljs-keyword">new</span> cc.Color(<span class="hljs-number">255</span>, <span class="hljs-number">255</span>, <span class="hljs-number">255</span>);
</code></pre>
<h5 id="anchorx">anchorX</h5>
<blockquote>
<p>&#x8282;&#x70B9; X &#x8F74;&#x951A;&#x70B9;&#x4F4D;&#x7F6E;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L943" target="_blank">cocos2d/core/CCNode.js:943</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.anchorX = <span class="hljs-number">0</span>;
</code></pre>
<h5 id="anchory">anchorY</h5>
<blockquote>
<p>&#x8282;&#x70B9; Y &#x8F74;&#x951A;&#x70B9;&#x4F4D;&#x7F6E;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L966" target="_blank">cocos2d/core/CCNode.js:966</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.anchorY = <span class="hljs-number">0</span>;
</code></pre>
<h5 id="width">width</h5>
<blockquote>
<p>&#x8282;&#x70B9;&#x5BBD;&#x5EA6;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L989" target="_blank">cocos2d/core/CCNode.js:989</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.width = <span class="hljs-number">100</span>;
</code></pre>
<h5 id="height">height</h5>
<blockquote>
<p>&#x8282;&#x70B9;&#x9AD8;&#x5EA6;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1019" target="_blank">cocos2d/core/CCNode.js:1019</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.height = <span class="hljs-number">100</span>;
</code></pre>
<h5 id="zindex">zIndex</h5>
<blockquote>
<p>zIndex &#x662F;&#x7528;&#x6765;&#x5BF9;&#x8282;&#x70B9;&#x8FDB;&#x884C;&#x6392;&#x5E8F;&#x7684;&#x5173;&#x952E;&#x5C5E;&#x6027;&#xFF0C;&#x5B83;&#x51B3;&#x5B9A;&#x4E00;&#x4E2A;&#x8282;&#x70B9;&#x5728;&#x5144;&#x5F1F;&#x8282;&#x70B9;&#x4E4B;&#x95F4;&#x7684;&#x4F4D;&#x7F6E;&#x3002;
&#x7236;&#x8282;&#x70B9;&#x4E3B;&#x8981;&#x6839;&#x636E;&#x8282;&#x70B9;&#x7684; zIndex &#x548C;&#x6DFB;&#x52A0;&#x6B21;&#x5E8F;&#x6765;&#x6392;&#x5E8F;&#xFF0C;&#x62E5;&#x6709;&#x66F4;&#x9AD8; zIndex &#x7684;&#x8282;&#x70B9;&#x5C06;&#x88AB;&#x6392;&#x5728;&#x540E;&#x9762;&#xFF0C;
&#x5982;&#x679C;&#x4E24;&#x4E2A;&#x8282;&#x70B9;&#x7684; zIndex &#x4E00;&#x81F4;&#xFF0C;&#x5148;&#x6DFB;&#x52A0;&#x7684;&#x8282;&#x70B9;&#x4F1A;&#x7A33;&#x5B9A;&#x6392;&#x5728;&#x53E6;&#x4E00;&#x4E2A;&#x8282;&#x70B9;&#x4E4B;&#x524D;&#x3002;</p>
</blockquote>
<p>&#x8282;&#x70B9;&#x5728; children &#x4E2D;&#x7684;&#x987A;&#x5E8F;&#x51B3;&#x5B9A;&#x4E86;&#x5176;&#x6E32;&#x67D3;&#x987A;&#x5E8F;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1049" target="_blank">cocos2d/core/CCNode.js:1049</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.zIndex = <span class="hljs-number">1</span>;
cc.log(<span class="hljs-string">&quot;Node zIndex: &quot;</span> + node.zIndex);
</code></pre>
<h5 id="cascadeopacity">cascadeOpacity</h5>
<blockquote>
<p>&#x900F;&#x660E;&#x5EA6;&#x7EA7;&#x8054;&#x529F;&#x80FD;&#x4ECE; v2.0 &#x5F00;&#x59CB;&#x5DF2;&#x79FB;&#x9664;
&#x8282;&#x70B9;&#x7684;&#x4E0D;&#x900F;&#x660E;&#x5EA6;&#x503C;&#x662F;&#x5426;&#x5F71;&#x54CD;&#x5176;&#x5B50;&#x8282;&#x70B9;&#xFF0C;&#x9ED8;&#x8BA4;&#x503C;&#x4E3A; true&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L3030" target="_blank">cocos2d/core/CCNode.js:3030</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h5 id="level">_level</h5>
<blockquote>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L151" target="_blank">cocos2d/core/utils/base-node.js:151</a></td>
</tr>
</tbody>
</table>
<h5 id="components">_components</h5>
<blockquote>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="Component.html" class="crosslink">Component[]</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L159" target="_blank">cocos2d/core/utils/base-node.js:159</a></td>
</tr>
</tbody>
</table>
<h5 id="prefab">_prefab</h5>
<blockquote>
<p>The PrefabInfo object</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td>PrefabInfo</td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L168" target="_blank">cocos2d/core/utils/base-node.js:168</a></td>
</tr>
</tbody>
</table>
<h5 id="persistnode">_persistNode</h5>
<blockquote>
<p>If true, the node is an persist node which won&apos;t be destroyed during scene transition.
If false, the node will be destroyed automatically when loading a new scene. Default is false.</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L176" target="_blank">cocos2d/core/utils/base-node.js:176</a></td>
</tr>
</tbody>
</table>
<h5 id="name">name</h5>
<blockquote>
<p>&#x8BE5;&#x8282;&#x70B9;&#x540D;&#x79F0;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L200" target="_blank">cocos2d/core/utils/base-node.js:200</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.name = <span class="hljs-string">&quot;New Node&quot;</span>;
cc.log(<span class="hljs-string">&quot;Node Name: &quot;</span> + node.name);
</code></pre>
<h5 id="uuid">uuid</h5>
<blockquote>
<p>&#x4E3B;&#x8981;&#x7528;&#x4E8E;&#x7F16;&#x8F91;&#x5668;&#x7684; uuid&#xFF0C;&#x5728;&#x7F16;&#x8F91;&#x5668;&#x4E0B;&#x53EF;&#x7528;&#x4E8E;&#x6301;&#x4E45;&#x5316;&#x5B58;&#x50A8;&#xFF0C;&#x5728;&#x9879;&#x76EE;&#x6784;&#x5EFA;&#x4E4B;&#x540E;&#x5C06;&#x53D8;&#x6210;&#x81EA;&#x589E;&#x7684; id&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L222" target="_blank">cocos2d/core/utils/base-node.js:222</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">cc.log(<span class="hljs-string">&quot;Node Uuid: &quot;</span> + node.uuid);
</code></pre>
<h5 id="children">children</h5>
<blockquote>
<p>&#x8282;&#x70B9;&#x7684;&#x6240;&#x6709;&#x5B50;&#x8282;&#x70B9;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="Node.html" class="crosslink">Node[]</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L237" target="_blank">cocos2d/core/utils/base-node.js:237</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> children = node.children;
<span class="hljs-keyword">for</span> (<span class="hljs-keyword">var</span> i = <span class="hljs-number">0</span>; i &lt; children.length; ++i) {
    cc.log(<span class="hljs-string">&quot;Node: &quot;</span> + children[i]);
}
</code></pre>
<h5 id="childrencount">childrenCount</h5>
<blockquote>
<p>&#x8282;&#x70B9;&#x7684;&#x5B50;&#x8282;&#x70B9;&#x6570;&#x91CF;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L255" target="_blank">cocos2d/core/utils/base-node.js:255</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> count = node.childrenCount;
cc.log(<span class="hljs-string">&quot;Node Children Count: &quot;</span> + count);
</code></pre>
<h5 id="active">active</h5>
<blockquote>
<p>&#x5F53;&#x524D;&#x8282;&#x70B9;&#x7684;&#x81EA;&#x8EAB;&#x6FC0;&#x6D3B;&#x72B6;&#x6001;&#x3002;<br>
&#x503C;&#x5F97;&#x6CE8;&#x610F;&#x7684;&#x662F;&#xFF0C;&#x4E00;&#x4E2A;&#x8282;&#x70B9;&#x7684;&#x7236;&#x8282;&#x70B9;&#x5982;&#x679C;&#x4E0D;&#x88AB;&#x6FC0;&#x6D3B;&#xFF0C;&#x90A3;&#x4E48;&#x5373;&#x4F7F;&#x5B83;&#x81EA;&#x8EAB;&#x8BBE;&#x4E3A;&#x6FC0;&#x6D3B;&#xFF0C;&#x5B83;&#x4ECD;&#x7136;&#x65E0;&#x6CD5;&#x6FC0;&#x6D3B;&#x3002;<br>
&#x5982;&#x679C;&#x4F60;&#x60F3;&#x68C0;&#x67E5;&#x8282;&#x70B9;&#x5728;&#x573A;&#x666F;&#x4E2D;&#x5B9E;&#x9645;&#x7684;&#x6FC0;&#x6D3B;&#x72B6;&#x6001;&#x53EF;&#x4EE5;&#x4F7F;&#x7528; Node/activeInHierarchy:property&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L271" target="_blank">cocos2d/core/utils/base-node.js:271</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.active = <span class="hljs-literal">false</span>;
</code></pre>
<h5 id="activeinhierarchy">activeInHierarchy</h5>
<blockquote>
<p>&#x8868;&#x793A;&#x6B64;&#x8282;&#x70B9;&#x662F;&#x5426;&#x5728;&#x573A;&#x666F;&#x4E2D;&#x6FC0;&#x6D3B;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L305" target="_blank">cocos2d/core/utils/base-node.js:305</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">cc.log(<span class="hljs-string">&quot;activeInHierarchy: &quot;</span> + node.activeInHierarchy);
</code></pre>
<h5 id="eventtargets">__eventTargets</h5>
<blockquote>
<p>Register all related EventTargets,
all event callbacks will be removed in _onPreDestroy</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="EventTarget.html" class="crosslink">EventTarget[]</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L331" target="_blank">cocos2d/core/utils/base-node.js:331</a></td>
</tr>
</tbody>
</table>
<h5 id="parent">parent</h5>
<blockquote>
<p>&#x8BE5;&#x8282;&#x70B9;&#x7684;&#x7236;&#x8282;&#x70B9;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="Node.html" class="crosslink">Node</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L343" target="_blank">cocos2d/core/utils/base-node.js:343</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.parent = newNode;
</code></pre>
<h5 id="name">_name</h5>
<blockquote>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/platform/CCObject.js#L76" target="_blank">cocos2d/core/platform/CCObject.js:76</a></td>
</tr>
</tbody>
</table>
<h5 id="objflags">_objFlags</h5>
<blockquote>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/platform/CCObject.js#L83" target="_blank">cocos2d/core/platform/CCObject.js:83</a></td>
</tr>
</tbody>
</table>
<h5 id="isvalid">isValid</h5>
<blockquote>
<p>&#x8868;&#x793A;&#x8BE5;&#x5BF9;&#x8C61;&#x662F;&#x5426;&#x53EF;&#x7528;&#xFF08;&#x88AB; destroy &#x540E;&#x5C06;&#x4E0D;&#x53EF;&#x7528;&#xFF09;&#x3002;<br>
&#x5F53;&#x4E00;&#x4E2A;&#x5BF9;&#x8C61;&#x7684; <code>destroy</code> &#x8C03;&#x7528;&#x4EE5;&#x540E;&#xFF0C;&#x4F1A;&#x5728;&#x8FD9;&#x4E00;&#x5E27;&#x7ED3;&#x675F;&#x540E;&#x624D;&#x771F;&#x6B63;&#x9500;&#x6BC1;&#x3002;&#x56E0;&#x6B64;&#x4ECE;&#x4E0B;&#x4E00;&#x5E27;&#x5F00;&#x59CB; <code>isValid</code> &#x5C31;&#x4F1A;&#x8FD4;&#x56DE; false&#xFF0C;&#x800C;&#x5F53;&#x524D;&#x5E27;&#x5185; <code>isValid</code> &#x4ECD;&#x7136;&#x4F1A;&#x662F; true&#x3002;&#x5982;&#x679C;&#x5E0C;&#x671B;&#x5224;&#x65AD;&#x5F53;&#x524D;&#x5E27;&#x662F;&#x5426;&#x8C03;&#x7528;&#x8FC7; <code>destroy</code>&#xFF0C;&#x8BF7;&#x4F7F;&#x7528; <code>cc.isValid(obj, true)</code>&#xFF0C;&#x4E0D;&#x8FC7;&#x8FD9;&#x5F80;&#x5F80;&#x662F;&#x7279;&#x6B8A;&#x7684;&#x4E1A;&#x52A1;&#x9700;&#x6C42;&#x5F15;&#x8D77;&#x7684;&#xFF0C;&#x901A;&#x5E38;&#x60C5;&#x51B5;&#x4E0B;&#x4E0D;&#x9700;&#x8981;&#x8FD9;&#x6837;&#x3002;</p>
</blockquote>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x7C7B;&#x578B;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/platform/CCObject.js#L261" target="_blank">cocos2d/core/platform/CCObject.js:261</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> node = <span class="hljs-keyword">new</span> cc.Node();
cc.log(node.isValid);    <span class="hljs-comment">// true</span>
node.destroy();
cc.log(node.isValid);    <span class="hljs-comment">// true, still valid in this frame</span>
<span class="hljs-comment">// after a frame...</span>
cc.log(node.isValid);    <span class="hljs-comment">// false, destroyed in the end of last frame</span>
</code></pre>
<!-- Method Block -->
<h4 id="&#x65B9;&#x6CD5;">&#x65B9;&#x6CD5;</h4>
<h5 id="constructor">constructor</h5>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCPrivateNode.js#L107" target="_blank">cocos2d/core/CCPrivateNode.js:107</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>name</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> </li>
</ul>
<h5 id="on">on</h5>
<p>&#x5728;&#x8282;&#x70B9;&#x4E0A;&#x6CE8;&#x518C;&#x6307;&#x5B9A;&#x7C7B;&#x578B;&#x7684;&#x56DE;&#x8C03;&#x51FD;&#x6570;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x8BBE;&#x7F6E; target &#x7528;&#x4E8E;&#x7ED1;&#x5B9A;&#x54CD;&#x5E94;&#x51FD;&#x6570;&#x7684; this &#x5BF9;&#x8C61;&#x3002;<br>
&#x9F20;&#x6807;&#x6216;&#x89E6;&#x6478;&#x4E8B;&#x4EF6;&#x4F1A;&#x88AB;&#x7CFB;&#x7EDF;&#x8C03;&#x7528; dispatchEvent &#x65B9;&#x6CD5;&#x89E6;&#x53D1;&#xFF0C;&#x89E6;&#x53D1;&#x7684;&#x8FC7;&#x7A0B;&#x5305;&#x542B;&#x4E09;&#x4E2A;&#x9636;&#x6BB5;&#xFF1A;<br></p>
<ol>
<li>&#x6355;&#x83B7;&#x9636;&#x6BB5;&#xFF1A;&#x6D3E;&#x53D1;&#x4E8B;&#x4EF6;&#x7ED9;&#x6355;&#x83B7;&#x76EE;&#x6807;&#xFF08;&#x901A;&#x8FC7; <code>_getCapturingTargets</code> &#x83B7;&#x53D6;&#xFF09;&#xFF0C;&#x6BD4;&#x5982;&#xFF0C;&#x8282;&#x70B9;&#x6811;&#x4E2D;&#x6CE8;&#x518C;&#x4E86;&#x6355;&#x83B7;&#x9636;&#x6BB5;&#x7684;&#x7236;&#x8282;&#x70B9;&#xFF0C;&#x4ECE;&#x6839;&#x8282;&#x70B9;&#x5F00;&#x59CB;&#x6D3E;&#x53D1;&#x76F4;&#x5230;&#x76EE;&#x6807;&#x8282;&#x70B9;&#x3002;<br></li>
<li>&#x76EE;&#x6807;&#x9636;&#x6BB5;&#xFF1A;&#x6D3E;&#x53D1;&#x7ED9;&#x76EE;&#x6807;&#x8282;&#x70B9;&#x7684;&#x76D1;&#x542C;&#x5668;&#x3002;<br></li>
<li>&#x5192;&#x6CE1;&#x9636;&#x6BB5;&#xFF1A;&#x6D3E;&#x53D1;&#x4E8B;&#x4EF6;&#x7ED9;&#x5192;&#x6CE1;&#x76EE;&#x6807;&#xFF08;&#x901A;&#x8FC7; <code>_getBubblingTargets</code> &#x83B7;&#x53D6;&#xFF09;&#xFF0C;&#x6BD4;&#x5982;&#xFF0C;&#x8282;&#x70B9;&#x6811;&#x4E2D;&#x6CE8;&#x518C;&#x4E86;&#x5192;&#x6CE1;&#x9636;&#x6BB5;&#x7684;&#x7236;&#x8282;&#x70B9;&#xFF0C;&#x4ECE;&#x76EE;&#x6807;&#x8282;&#x70B9;&#x5F00;&#x59CB;&#x6D3E;&#x53D1;&#x77E5;&#x9053;&#x6839;&#x8282;&#x70B9;&#x3002;<br>
&#x540C;&#x65F6;&#x60A8;&#x53EF;&#x4EE5;&#x5C06;&#x4E8B;&#x4EF6;&#x6D3E;&#x53D1;&#x5230;&#x7236;&#x8282;&#x70B9;&#x6216;&#x8005;&#x901A;&#x8FC7;&#x8C03;&#x7528; stopPropagation &#x62E6;&#x622A;&#x5B83;&#x3002;<br>
&#x63A8;&#x8350;&#x4F7F;&#x7528;&#x8FD9;&#x79CD;&#x65B9;&#x5F0F;&#x6765;&#x76D1;&#x542C;&#x8282;&#x70B9;&#x4E0A;&#x7684;&#x89E6;&#x6478;&#x6216;&#x9F20;&#x6807;&#x4E8B;&#x4EF6;&#xFF0C;&#x8BF7;&#x4E0D;&#x8981;&#x5728;&#x8282;&#x70B9;&#x4E0A;&#x76F4;&#x63A5;&#x4F7F;&#x7528; cc.eventManager&#x3002;<br>
&#x4F60;&#x4E5F;&#x53EF;&#x4EE5;&#x6CE8;&#x518C;&#x81EA;&#x5B9A;&#x4E49;&#x4E8B;&#x4EF6;&#x5230;&#x8282;&#x70B9;&#x4E0A;&#xFF0C;&#x5E76;&#x901A;&#x8FC7; emit &#x65B9;&#x6CD5;&#x89E6;&#x53D1;&#x6B64;&#x7C7B;&#x4E8B;&#x4EF6;&#xFF0C;&#x5BF9;&#x4E8E;&#x8FD9;&#x7C7B;&#x4E8B;&#x4EF6;&#xFF0C;&#x4E0D;&#x4F1A;&#x53D1;&#x751F;&#x6355;&#x83B7;&#x5192;&#x6CE1;&#x9636;&#x6BB5;&#xFF0C;&#x53EA;&#x4F1A;&#x76F4;&#x63A5;&#x6D3E;&#x53D1;&#x7ED9;&#x6CE8;&#x518C;&#x5728;&#x8BE5;&#x8282;&#x70B9;&#x4E0A;&#x7684;&#x76D1;&#x542C;&#x5668;</li>
</ol>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1330" target="_blank">cocos2d/core/CCNode.js:1330</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>type</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> A string representing the event type to listen for.<br><pre><code>                 See Node/EventTyupe/POSITION_CHANGED for all builtin events.
</code></pre></li>
<li><code>callback</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> The callback that will be invoked when the event is dispatched.<pre><code>                       The callback is ignored if it is a duplicate (the callbacks are unique).
</code></pre><ul>
<li><code>event</code> <a href="Event.html" class="crosslink">Event</a> event</li>
</ul>
</li>
<li><code>target</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> The target (this object) to invoke the callback, can be null</li>
<li><code>useCapture</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> When set to true, the capture argument prevents callback<pre><code>                       from being invoked when the event&apos;s eventPhase attribute value is BUBBLING_PHASE.
                       When false, callback will NOT be invoked when event&apos;s eventPhase attribute value is CAPTURING_PHASE.
                       Either way, callback will be invoked when event&apos;s eventPhase attribute value is AT_TARGET.
</code></pre></li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">this</span>.node.on(cc.Node.EventType.TOUCH_START, <span class="hljs-keyword">this</span>.memberFunction, <span class="hljs-keyword">this</span>);  <span class="hljs-comment">// if &quot;this&quot; is component and the &quot;memberFunction&quot; declared in CCClass.</span>
node.on(cc.Node.EventType.TOUCH_START, callback, <span class="hljs-keyword">this</span>.node);
node.on(cc.Node.EventType.TOUCH_MOVE, callback, <span class="hljs-keyword">this</span>.node);
node.on(cc.Node.EventType.TOUCH_END, callback, <span class="hljs-keyword">this</span>.node);
node.on(cc.Node.EventType.TOUCH_CANCEL, callback, <span class="hljs-keyword">this</span>.node);
node.on(cc.Node.EventType.ANCHOR_CHANGED, callback, <span class="hljs-keyword">this</span>);
</code></pre>
<h5 id="off">off</h5>
<p>&#x5220;&#x9664;&#x4E4B;&#x524D;&#x4E0E;&#x540C;&#x7C7B;&#x578B;&#xFF0C;&#x56DE;&#x8C03;&#xFF0C;&#x76EE;&#x6807;&#x6216; useCapture &#x6CE8;&#x518C;&#x7684;&#x56DE;&#x8C03;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1498" target="_blank">cocos2d/core/CCNode.js:1498</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>type</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> A string representing the event type being removed.</li>
<li><code>callback</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> The callback to remove.</li>
<li><code>target</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> The target (this object) to invoke the callback, if it&apos;s not given, only callback without target will be removed</li>
<li><code>useCapture</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> Specifies whether the callback being removed was registered as a capturing callback or not.<pre><code>                       If not specified, useCapture defaults to false. If a callback was registered twice,
                       one with capture and one without, each must be removed separately. Removal of a capturing callback
                       does not affect a non-capturing version of the same listener, and vice versa.
</code></pre></li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">this</span>.node.off(cc.Node.EventType.TOUCH_START, <span class="hljs-keyword">this</span>.memberFunction, <span class="hljs-keyword">this</span>);
node.off(cc.Node.EventType.TOUCH_START, callback, <span class="hljs-keyword">this</span>.node);
node.off(cc.Node.EventType.ANCHOR_CHANGED, callback, <span class="hljs-keyword">this</span>);
</code></pre>
<h5 id="targetoff">targetOff</h5>
<p>&#x79FB;&#x9664;&#x76EE;&#x6807;&#x4E0A;&#x7684;&#x6240;&#x6709;&#x6CE8;&#x518C;&#x4E8B;&#x4EF6;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1586" target="_blank">cocos2d/core/CCNode.js:1586</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>target</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> The target to be searched for all related callbacks</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.targetOff(target);
</code></pre>
<h5 id="haseventlistener">hasEventListener</h5>
<p>&#x68C0;&#x67E5;&#x4E8B;&#x4EF6;&#x76EE;&#x6807;&#x5BF9;&#x8C61;&#x662F;&#x5426;&#x6709;&#x4E3A;&#x7279;&#x5B9A;&#x7C7B;&#x578B;&#x7684;&#x4E8B;&#x4EF6;&#x6CE8;&#x518C;&#x7684;&#x56DE;&#x8C03;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1630" target="_blank">cocos2d/core/CCNode.js:1630</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>type</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> The type of event.</li>
</ul>
<h5 id="emit">emit</h5>
<p>&#x901A;&#x8FC7;&#x4E8B;&#x4EF6;&#x540D;&#x548C; detail &#x53D1;&#x9001;&#x81EA;&#x5B9A;&#x4E49;&#x4E8B;&#x4EF6;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1648" target="_blank">cocos2d/core/CCNode.js:1648</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>type</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> event type</li>
<li><code>detail</code> Any whatever argument the message needs</li>
</ul>
<h5 id="dispatchevent">dispatchEvent</h5>
<p>&#x5206;&#x53D1;&#x4E8B;&#x4EF6;&#x5230;&#x4E8B;&#x4EF6;&#x6D41;&#x4E2D;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1665" target="_blank">cocos2d/core/CCNode.js:1665</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>event</code> <a href="Event.html" class="crosslink">Event</a> The Event object that is dispatched into the event flow</li>
</ul>
<h5 id="pausesystemevents">pauseSystemEvents</h5>
<p>&#x6682;&#x505C;&#x5F53;&#x524D;&#x8282;&#x70B9;&#x4E0A;&#x6CE8;&#x518C;&#x7684;&#x6240;&#x6709;&#x8282;&#x70B9;&#x7CFB;&#x7EDF;&#x4E8B;&#x4EF6;&#xFF0C;&#x8282;&#x70B9;&#x7CFB;&#x7EDF;&#x4E8B;&#x4EF6;&#x5305;&#x542B;&#x89E6;&#x6478;&#x548C;&#x9F20;&#x6807;&#x4E8B;&#x4EF6;&#x3002;
&#x5982;&#x679C;&#x4F20;&#x9012; recursive &#x4E3A; true&#xFF0C;&#x90A3;&#x4E48;&#x8FD9;&#x4E2A; API &#x5C06;&#x6682;&#x505C;&#x672C;&#x8282;&#x70B9;&#x548C;&#x5B83;&#x7684;&#x5B50;&#x6811;&#x4E0A;&#x6240;&#x6709;&#x8282;&#x70B9;&#x7684;&#x8282;&#x70B9;&#x7CFB;&#x7EDF;&#x4E8B;&#x4EF6;&#x3002;
&#x53C2;&#x8003;&#xFF1A;<a href="http://cocos.com/docs/creator/scripting/internal-events.html" target="_blank">http://cocos.com/docs/creator/scripting/internal-events.html</a></p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1679" target="_blank">cocos2d/core/CCNode.js:1679</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>recursive</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> Whether to pause node system events on the sub node tree.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.pauseSystemEvents(<span class="hljs-literal">true</span>);
</code></pre>
<h5 id="resumesystemevents">resumeSystemEvents</h5>
<p>&#x6062;&#x590D;&#x5F53;&#x524D;&#x8282;&#x70B9;&#x4E0A;&#x6CE8;&#x518C;&#x7684;&#x6240;&#x6709;&#x8282;&#x70B9;&#x7CFB;&#x7EDF;&#x4E8B;&#x4EF6;&#xFF0C;&#x8282;&#x70B9;&#x7CFB;&#x7EDF;&#x4E8B;&#x4EF6;&#x5305;&#x542B;&#x89E6;&#x6478;&#x548C;&#x9F20;&#x6807;&#x4E8B;&#x4EF6;&#x3002;
&#x5982;&#x679C;&#x4F20;&#x9012; recursive &#x4E3A; true&#xFF0C;&#x90A3;&#x4E48;&#x8FD9;&#x4E2A; API &#x5C06;&#x6062;&#x590D;&#x672C;&#x8282;&#x70B9;&#x548C;&#x5B83;&#x7684;&#x5B50;&#x6811;&#x4E0A;&#x6240;&#x6709;&#x8282;&#x70B9;&#x7684;&#x8282;&#x70B9;&#x7CFB;&#x7EDF;&#x4E8B;&#x4EF6;&#x3002;
&#x53C2;&#x8003;&#xFF1A;<a href="http://cocos.com/docs/creator/scripting/internal-events.html" target="_blank">http://cocos.com/docs/creator/scripting/internal-events.html</a></p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1695" target="_blank">cocos2d/core/CCNode.js:1695</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>recursive</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> Whether to resume node system events on the sub node tree.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.resumeSystemEvents(<span class="hljs-literal">true</span>);
</code></pre>
<h5 id="getcapturingtargets">_getCapturingTargets</h5>
<p>Get all the targets listening to the supplied type of event in the target&apos;s capturing phase.
The capturing phase comprises the journey from the root to the last node BEFORE the event target&apos;s node.
The result should save in the array parameter, and MUST SORT from child nodes to parent nodes.</p>
<p>Subclasses can override this method to make event propagable.</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1756" target="_blank">cocos2d/core/CCNode.js:1756</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>type</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> the event type</li>
<li><code>array</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> the array to receive targets</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">----------
Subclasses can override <span class="hljs-keyword">this</span> method to make event propagable
<span class="hljs-string">``</span><span class="hljs-string">`js
for (var target = this._parent; target; target = target._parent) {
    if (target._capturingListeners &amp;&amp; target._capturingListeners.hasEventListener(type)) {
        array.push(target);
    }
}
</span></code></pre>
<h5 id="getbubblingtargets">_getBubblingTargets</h5>
<p>Get all the targets listening to the supplied type of event in the target&apos;s bubbling phase.
The bubbling phase comprises any SUBSEQUENT nodes encountered on the return trip to the root of the tree.
The result should save in the array parameter, and MUST SORT from child nodes to parent nodes.</p>
<p>Subclasses can override this method to make event propagable.</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1778" target="_blank">cocos2d/core/CCNode.js:1778</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>type</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> the event type</li>
<li><code>array</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> the array to receive targets</li>
</ul>
<h5 id="runaction">runAction</h5>
<p>&#x6267;&#x884C;&#x5E76;&#x8FD4;&#x56DE;&#x8BE5;&#x6267;&#x884C;&#x7684;&#x52A8;&#x4F5C;&#x3002;&#x8BE5;&#x8282;&#x70B9;&#x5C06;&#x4F1A;&#x53D8;&#x6210;&#x52A8;&#x4F5C;&#x7684;&#x76EE;&#x6807;&#x3002;<br>
&#x8C03;&#x7528; runAction &#x65F6;&#xFF0C;&#x8282;&#x70B9;&#x81EA;&#x8EAB;&#x5904;&#x4E8E;&#x4E0D;&#x6FC0;&#x6D3B;&#x72B6;&#x6001;&#x5C06;&#x4E0D;&#x4F1A;&#x6709;&#x4EFB;&#x4F55;&#x6548;&#x679C;&#x3002;<br>
&#x6CE8;&#x610F;&#xFF1A;&#x4F60;&#x4E0D;&#x5E94;&#x8BE5;&#x4FEE;&#x6539; runAction &#x540E;&#x7684;&#x52A8;&#x4F5C;&#xFF0C;&#x5C06;&#x65E0;&#x6CD5;&#x53D1;&#x6325;&#x4F5C;&#x7528;&#xFF0C;&#x5982;&#x679C;&#x60F3;&#x8FDB;&#x884C;&#x4FEE;&#x6539;&#xFF0C;&#x8BF7;&#x5728;&#x5B9A;&#x4E49; action &#x65F6;&#x52A0;&#x5165;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Action.html" class="crosslink">Action</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1800" target="_blank">cocos2d/core/CCNode.js:1800</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>action</code> <a href="Action.html" class="crosslink">Action</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> action = cc.scaleTo(<span class="hljs-number">0.2</span>, <span class="hljs-number">1</span>, <span class="hljs-number">0.6</span>);
node.runAction(action);
node.runAction(action).repeatForever(); <span class="hljs-comment">// fail</span>
node.runAction(action.repeatForever()); <span class="hljs-comment">// right</span>
</code></pre>
<h5 id="pauseallactions">pauseAllActions</h5>
<p>&#x6682;&#x505C;&#x672C;&#x8282;&#x70B9;&#x4E0A;&#x6240;&#x6709;&#x6B63;&#x5728;&#x8FD0;&#x884C;&#x7684;&#x52A8;&#x4F5C;&#x3002;&#x548C; <code>cc.director.getActionManager().pauseTarget(node);</code> &#x7B49;&#x4EF7;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1829" target="_blank">cocos2d/core/CCNode.js:1829</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.pauseAllActions();
</code></pre>
<h5 id="resumeallactions">resumeAllActions</h5>
<p>&#x6062;&#x590D;&#x8FD0;&#x884C;&#x672C;&#x8282;&#x70B9;&#x4E0A;&#x6240;&#x6709;&#x6682;&#x505C;&#x7684;&#x52A8;&#x4F5C;&#x3002;&#x548C; <code>cc.director.getActionManager().resumeTarget(node);</code> &#x7B49;&#x4EF7;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1840" target="_blank">cocos2d/core/CCNode.js:1840</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.resumeAllActions();
</code></pre>
<h5 id="stopallactions">stopAllActions</h5>
<p>&#x505C;&#x6B62;&#x5E76;&#x4E14;&#x79FB;&#x9664;&#x6240;&#x6709;&#x6B63;&#x5728;&#x8FD0;&#x884C;&#x7684;&#x52A8;&#x4F5C;&#x5217;&#x8868;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1851" target="_blank">cocos2d/core/CCNode.js:1851</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.stopAllActions();
</code></pre>
<h5 id="stopaction">stopAction</h5>
<p>&#x505C;&#x6B62;&#x5E76;&#x79FB;&#x9664;&#x6307;&#x5B9A;&#x7684;&#x52A8;&#x4F5C;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1862" target="_blank">cocos2d/core/CCNode.js:1862</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>action</code> <a href="Action.html" class="crosslink">Action</a> An action object to be removed.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> action = cc.scaleTo(<span class="hljs-number">0.2</span>, <span class="hljs-number">1</span>, <span class="hljs-number">0.6</span>);
node.stopAction(action);
</code></pre>
<h5 id="stopactionbytag">stopActionByTag</h5>
<p>&#x505C;&#x6B62;&#x5E76;&#x4E14;&#x79FB;&#x9664;&#x6307;&#x5B9A;&#x6807;&#x7B7E;&#x7684;&#x52A8;&#x4F5C;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1875" target="_blank">cocos2d/core/CCNode.js:1875</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>tag</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> A tag that indicates the action to be removed.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.stopAction(<span class="hljs-number">1</span>);
</code></pre>
<h5 id="getactionbytag">getActionByTag</h5>
<p>&#x901A;&#x8FC7;&#x6807;&#x7B7E;&#x83B7;&#x53D6;&#x6307;&#x5B9A;&#x52A8;&#x4F5C;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Action.html" class="crosslink">Action</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1891" target="_blank">cocos2d/core/CCNode.js:1891</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>tag</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> action = node.getActionByTag(<span class="hljs-number">1</span>);
</code></pre>
<h5 id="getnumberofrunningactions">getNumberOfRunningActions</h5>
<p>&#x83B7;&#x53D6;&#x8FD0;&#x884C;&#x7740;&#x7684;&#x52A8;&#x4F5C;&#x52A0;&#x4E0A;&#x6B63;&#x5728;&#x8C03;&#x5EA6;&#x8FD0;&#x884C;&#x7684;&#x52A8;&#x4F5C;&#x7684;&#x603B;&#x6570;&#x3002;<br>
&#x4F8B;&#x5982;&#xFF1A;<br></p>
<ul>
<li>&#x5982;&#x679C;&#x4F60;&#x6B63;&#x5728;&#x8FD0;&#x884C; 7 &#x4E2A;&#x52A8;&#x4F5C;&#x4E2D;&#x7684; 1 &#x4E2A; Sequence&#xFF0C;&#x5B83;&#x5C06;&#x8FD4;&#x56DE; 1&#x3002;<br></li>
<li>&#x5982;&#x679C;&#x4F60;&#x6B63;&#x5728;&#x8FD0;&#x884C; 2 &#x4E2A;&#x52A8;&#x4F5C;&#x4E2D;&#x7684; 7 &#x4E2A; Sequence&#xFF0C;&#x5B83;&#x5C06;&#x8FD4;&#x56DE; 7&#x3002;<br></li>
</ul>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1911" target="_blank">cocos2d/core/CCNode.js:1911</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> count = node.getNumberOfRunningActions();
cc.log(<span class="hljs-string">&quot;Running Action Count: &quot;</span> + count);
</code></pre>
<h5 id="getposition">getPosition</h5>
<p>&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x5728;&#x7236;&#x8282;&#x70B9;&#x5750;&#x6807;&#x7CFB;&#x4E2D;&#x7684;&#x4F4D;&#x7F6E;&#xFF08;x, y&#xFF09;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Vec2.html" class="crosslink">Vec2</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1937" target="_blank">cocos2d/core/CCNode.js:1937</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">cc.log(<span class="hljs-string">&quot;Node Position: &quot;</span> + node.getPosition());
</code></pre>
<h5 id="setposition">setPosition</h5>
<p>&#x8BBE;&#x7F6E;&#x8282;&#x70B9;&#x5728;&#x7236;&#x8282;&#x70B9;&#x5750;&#x6807;&#x7CFB;&#x4E2D;&#x7684;&#x4F4D;&#x7F6E;&#x3002;<br>
&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x4E24;&#x79CD;&#x65B9;&#x5F0F;&#x8BBE;&#x7F6E;&#x5750;&#x6807;&#x70B9;&#xFF1A;<br></p>
<ol>
<li>&#x4F20;&#x5165; 2 &#x4E2A;&#x6570;&#x503C; x &#x548C; y&#x3002;<br></li>
<li>&#x4F20;&#x5165; cc.v2(x, y) &#x7C7B;&#x578B;&#x4E3A; cc.Vec2 &#x7684;&#x5BF9;&#x8C61;&#x3002;</li>
</ol>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L1949" target="_blank">cocos2d/core/CCNode.js:1949</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>newPosOrX</code> <a href="Vec2.html" class="crosslink">Vec2</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> X coordinate for position or the position (x, y) of the node in coordinates</li>
<li><code>y</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> Y coordinate for position</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.setPosition(cc.v2(<span class="hljs-number">0</span>, <span class="hljs-number">0</span>));
node.setPosition(<span class="hljs-number">0</span>, <span class="hljs-number">0</span>);
</code></pre>
<h5 id="getscale">getScale</h5>
<p>&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x7684;&#x7F29;&#x653E;&#x3002;&#x5F53; X &#x8F74;&#x548C; Y &#x8F74;&#x6709;&#x76F8;&#x540C;&#x7684;&#x7F29;&#x653E;&#x6570;&#x503C;&#x65F6;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2009" target="_blank">cocos2d/core/CCNode.js:2009</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">cc.log(<span class="hljs-string">&quot;Node Scale: &quot;</span> + node.getScale());
</code></pre>
<h5 id="setscale">setScale</h5>
<p>&#x8BBE;&#x7F6E;&#x8282;&#x70B9;&#x7684;&#x7F29;&#x653E;&#x6BD4;&#x4F8B;&#xFF0C;&#x9ED8;&#x8BA4;&#x503C;&#x4E3A; 1.0&#x3002;&#x8FD9;&#x4E2A;&#x51FD;&#x6570;&#x53EF;&#x4EE5;&#x5728;&#x540C;&#x4E00;&#x65F6;&#x95F4;&#x4FEE;&#x6539; X &#x548C; Y &#x7F29;&#x653E;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2025" target="_blank">cocos2d/core/CCNode.js:2025</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>scaleX</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> | <a href="Vec2.html" class="crosslink">Vec2</a> scaleX or scale</li>
<li><code>scaleY</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.setScale(cc.v2(<span class="hljs-number">1</span>, <span class="hljs-number">1</span>));
node.setScale(<span class="hljs-number">1</span>);
</code></pre>
<h5 id="setrotation">setRotation</h5>
<p>&#x8BBE;&#x7F6E;&#x8BE5;&#x8282;&#x70B9;&#x4EE5;&#x5C40;&#x90E8;&#x5750;&#x6807;&#x7CFB; Z &#x8F74;&#x4E3A;&#x8F74;&#x8FDB;&#x884C;&#x65CB;&#x8F6C;&#x7684;&#x89D2;&#x5EA6;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2055" target="_blank">cocos2d/core/CCNode.js:2055</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>rotation</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> Degree rotation value</li>
</ul>
<h5 id="getrotation">getRotation</h5>
<p>&#x83B7;&#x53D6;&#x8BE5;&#x8282;&#x70B9;&#x4EE5;&#x5C40;&#x90E8;&#x5750;&#x6807;&#x7CFB; Z &#x8F74;&#x4E3A;&#x8F74;&#x8FDB;&#x884C;&#x65CB;&#x8F6C;&#x7684;&#x89D2;&#x5EA6;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2062" target="_blank">cocos2d/core/CCNode.js:2062</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>rotation</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> Degree rotation value</li>
</ul>
<h5 id="getcontentsize">getContentSize</h5>
<p>&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x81EA;&#x8EAB;&#x5927;&#x5C0F;&#xFF0C;&#x4E0D;&#x53D7;&#x8BE5;&#x8282;&#x70B9;&#x662F;&#x5426;&#x88AB;&#x7F29;&#x653E;&#x6216;&#x8005;&#x65CB;&#x8F6C;&#x7684;&#x5F71;&#x54CD;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Size.html" class="crosslink">Size</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2069" target="_blank">cocos2d/core/CCNode.js:2069</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">cc.log(<span class="hljs-string">&quot;Content Size: &quot;</span> + node.getContentSize());
</code></pre>
<h5 id="setcontentsize">setContentSize</h5>
<p>&#x8BBE;&#x7F6E;&#x8282;&#x70B9;&#x539F;&#x59CB;&#x5927;&#x5C0F;&#xFF0C;&#x4E0D;&#x53D7;&#x8BE5;&#x8282;&#x70B9;&#x662F;&#x5426;&#x88AB;&#x7F29;&#x653E;&#x6216;&#x8005;&#x65CB;&#x8F6C;&#x7684;&#x5F71;&#x54CD;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2084" target="_blank">cocos2d/core/CCNode.js:2084</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>size</code> <a href="Size.html" class="crosslink">Size</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> The untransformed size of the node or The untransformed size&apos;s width of the node.</li>
<li><code>height</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> The untransformed size&apos;s height of the node.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.setContentSize(cc.size(<span class="hljs-number">100</span>, <span class="hljs-number">100</span>));
node.setContentSize(<span class="hljs-number">100</span>, <span class="hljs-number">100</span>);
</code></pre>
<h5 id="getanchorpoint">getAnchorPoint</h5>
<p>&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x951A;&#x70B9;&#xFF0C;&#x7528;&#x767E;&#x5206;&#x6BD4;&#x8868;&#x793A;&#x3002;<br>
&#x951A;&#x70B9;&#x5E94;&#x7528;&#x4E8E;&#x6240;&#x6709;&#x53D8;&#x6362;&#x548C;&#x5750;&#x6807;&#x70B9;&#x7684;&#x64CD;&#x4F5C;&#xFF0C;&#x5B83;&#x5C31;&#x50CF;&#x5728;&#x8282;&#x70B9;&#x4E0A;&#x8FDE;&#x63A5;&#x5176;&#x7236;&#x8282;&#x70B9;&#x7684;&#x5927;&#x5934;&#x9488;&#x3002;<br>
&#x951A;&#x70B9;&#x662F;&#x6807;&#x51C6;&#x5316;&#x7684;&#xFF0C;&#x5C31;&#x50CF;&#x767E;&#x5206;&#x6BD4;&#x4E00;&#x6837;&#x3002;(0&#xFF0C;0) &#x8868;&#x793A;&#x5DE6;&#x4E0B;&#x89D2;&#xFF0C;(1&#xFF0C;1) &#x8868;&#x793A;&#x53F3;&#x4E0A;&#x89D2;&#x3002;<br>
&#x4F46;&#x662F;&#x4F60;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x6BD4;&#xFF08;1&#xFF0C;1&#xFF09;&#x66F4;&#x9AD8;&#x7684;&#x503C;&#x6216;&#x8005;&#x6BD4;&#xFF08;0&#xFF0C;0&#xFF09;&#x66F4;&#x4F4E;&#x7684;&#x503C;&#x3002;<br>
&#x9ED8;&#x8BA4;&#x7684;&#x951A;&#x70B9;&#x662F;&#xFF08;0.5&#xFF0C;0.5&#xFF09;&#xFF0C;&#x56E0;&#x6B64;&#x5B83;&#x5F00;&#x59CB;&#x4E8E;&#x8282;&#x70B9;&#x7684;&#x4E2D;&#x5FC3;&#x4F4D;&#x7F6E;&#x3002;<br>
&#x6CE8;&#x610F;&#xFF1A;Creator &#x4E2D;&#x7684;&#x951A;&#x70B9;&#x4EC5;&#x7528;&#x4E8E;&#x5B9A;&#x4F4D;&#x6240;&#x5728;&#x7684;&#x8282;&#x70B9;&#xFF0C;&#x5B50;&#x8282;&#x70B9;&#x7684;&#x5B9A;&#x4F4D;&#x4E0D;&#x53D7;&#x5F71;&#x54CD;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Vec2.html" class="crosslink">Vec2</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2127" target="_blank">cocos2d/core/CCNode.js:2127</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">cc.log(<span class="hljs-string">&quot;Node AnchorPoint: &quot;</span> + node.getAnchorPoint());
</code></pre>
<h5 id="setanchorpoint">setAnchorPoint</h5>
<p>&#x8BBE;&#x7F6E;&#x951A;&#x70B9;&#x7684;&#x767E;&#x5206;&#x6BD4;&#x3002;<br>
&#x951A;&#x70B9;&#x5E94;&#x7528;&#x4E8E;&#x6240;&#x6709;&#x53D8;&#x6362;&#x548C;&#x5750;&#x6807;&#x70B9;&#x7684;&#x64CD;&#x4F5C;&#xFF0C;&#x5B83;&#x5C31;&#x50CF;&#x5728;&#x8282;&#x70B9;&#x4E0A;&#x8FDE;&#x63A5;&#x5176;&#x7236;&#x8282;&#x70B9;&#x7684;&#x5927;&#x5934;&#x9488;&#x3002;<br>
&#x951A;&#x70B9;&#x662F;&#x6807;&#x51C6;&#x5316;&#x7684;&#xFF0C;&#x5C31;&#x50CF;&#x767E;&#x5206;&#x6BD4;&#x4E00;&#x6837;&#x3002;(0&#xFF0C;0) &#x8868;&#x793A;&#x5DE6;&#x4E0B;&#x89D2;&#xFF0C;(1&#xFF0C;1) &#x8868;&#x793A;&#x53F3;&#x4E0A;&#x89D2;&#x3002;<br>
&#x4F46;&#x662F;&#x4F60;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x6BD4;&#xFF08;1&#xFF0C;1&#xFF09;&#x66F4;&#x9AD8;&#x7684;&#x503C;&#x6216;&#x8005;&#x6BD4;&#xFF08;0&#xFF0C;0&#xFF09;&#x66F4;&#x4F4E;&#x7684;&#x503C;&#x3002;<br>
&#x9ED8;&#x8BA4;&#x7684;&#x951A;&#x70B9;&#x662F;&#xFF08;0.5&#xFF0C;0.5&#xFF09;&#xFF0C;&#x56E0;&#x6B64;&#x5B83;&#x5F00;&#x59CB;&#x4E8E;&#x8282;&#x70B9;&#x7684;&#x4E2D;&#x5FC3;&#x4F4D;&#x7F6E;&#x3002;<br>
&#x6CE8;&#x610F;&#xFF1A;Creator &#x4E2D;&#x7684;&#x951A;&#x70B9;&#x4EC5;&#x7528;&#x4E8E;&#x5B9A;&#x4F4D;&#x6240;&#x5728;&#x7684;&#x8282;&#x70B9;&#xFF0C;&#x5B50;&#x8282;&#x70B9;&#x7684;&#x5B9A;&#x4F4D;&#x4E0D;&#x53D7;&#x5F71;&#x54CD;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2151" target="_blank">cocos2d/core/CCNode.js:2151</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>point</code> <a href="Vec2.html" class="crosslink">Vec2</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> The anchor point of node or The x axis anchor of node.</li>
<li><code>y</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> The y axis anchor of node.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.setAnchorPoint(cc.v2(<span class="hljs-number">1</span>, <span class="hljs-number">1</span>));
node.setAnchorPoint(<span class="hljs-number">1</span>, <span class="hljs-number">1</span>);
</code></pre>
<h5 id="lookat">lookAt</h5>
<p>&#x901A;&#x8FC7;&#x89C2;&#x5BDF;&#x76EE;&#x6807;&#x6765;&#x8BBE;&#x7F6E; rotation&#xFF0C;&#x4E00;&#x822C;&#x7528;&#x4E8E; Camera Node &#x4E0A;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2326" target="_blank">cocos2d/core/CCNode.js:2326</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>pos</code> <a href="Vec3.html" class="crosslink">Vec3</a> </li>
<li><code>up</code> <a href="Vec3.html" class="crosslink">Vec3</a> default is (0,1,0)</li>
</ul>
<h5 id="getlocalmatrix">getLocalMatrix</h5>
<p>&#x8FD4;&#x56DE;&#x5C40;&#x90E8;&#x7A7A;&#x95F4;&#x5750;&#x6807;&#x7CFB;&#x7684;&#x77E9;&#x9635;&#xFF0C;&#x57FA;&#x4E8E;&#x7236;&#x8282;&#x70B9;&#x5750;&#x6807;&#x7CFB;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td>vmath.Mat4 </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2469" target="_blank">cocos2d/core/CCNode.js:2469</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>out</code> vmath.Mat4 The matrix object to be filled with data</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> mat4 = vmath.mat4.create();
node.getLocalMatrix(mat4);
</code></pre>
<h5 id="converttonodespace">convertToNodeSpace</h5>
<p>&#x5C06;&#x4E00;&#x4E2A;&#x70B9;&#x8F6C;&#x6362;&#x5230;&#x8282;&#x70B9; (&#x5C40;&#x90E8;) &#x5750;&#x6807;&#x7CFB;&#xFF0C;&#x5E76;&#x52A0;&#x4E0A;&#x951A;&#x70B9;&#x7684;&#x5750;&#x6807;&#x3002;<br>
&#x4E5F;&#x5C31;&#x662F;&#x8BF4;&#x8FD4;&#x56DE;&#x7684;&#x5750;&#x6807;&#x662F;&#x76F8;&#x5BF9;&#x4E8E;&#x8282;&#x70B9;&#x5305;&#x56F4;&#x76D2;&#x5DE6;&#x4E0B;&#x89D2;&#x7684;&#x5750;&#x6807;&#x3002;<br>
&#x8FD9;&#x4E2A; API &#x7684;&#x8BBE;&#x8BA1;&#x662F;&#x4E3A;&#x4E86;&#x548C; cocos2d-x &#x4E2D;&#x884C;&#x4E3A;&#x4E00;&#x81F4;&#xFF0C;&#x66F4;&#x591A;&#x60C5;&#x51B5;&#x4E0B;&#x4F60;&#x53EF;&#x80FD;&#x9700;&#x8981;&#x4F7F;&#x7528; convertToNodeSpaceAR&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Vec2.html" class="crosslink">Vec2</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2501" target="_blank">cocos2d/core/CCNode.js:2501</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>worldPoint</code> <a href="Vec2.html" class="crosslink">Vec2</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> newVec2 = node.convertToNodeSpace(cc.v2(<span class="hljs-number">100</span>, <span class="hljs-number">100</span>));
</code></pre>
<h5 id="converttoworldspace">convertToWorldSpace</h5>
<p>&#x5C06;&#x4E00;&#x4E2A;&#x76F8;&#x5BF9;&#x4E8E;&#x8282;&#x70B9;&#x5DE6;&#x4E0B;&#x89D2;&#x7684;&#x5750;&#x6807;&#x4F4D;&#x7F6E;&#x8F6C;&#x6362;&#x5230;&#x4E16;&#x754C;&#x7A7A;&#x95F4;&#x5750;&#x6807;&#x7CFB;&#x3002;
&#x8FD9;&#x4E2A; API &#x7684;&#x8BBE;&#x8BA1;&#x662F;&#x4E3A;&#x4E86;&#x548C; cocos2d-x &#x4E2D;&#x884C;&#x4E3A;&#x4E00;&#x81F4;&#xFF0C;&#x66F4;&#x591A;&#x60C5;&#x51B5;&#x4E0B;&#x4F60;&#x53EF;&#x80FD;&#x9700;&#x8981;&#x4F7F;&#x7528; convertToWorldSpaceAR</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Vec2.html" class="crosslink">Vec2</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2524" target="_blank">cocos2d/core/CCNode.js:2524</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>nodePoint</code> <a href="Vec2.html" class="crosslink">Vec2</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> newVec2 = node.convertToWorldSpace(cc.v2(<span class="hljs-number">100</span>, <span class="hljs-number">100</span>));
</code></pre>
<h5 id="converttonodespacear">convertToNodeSpaceAR</h5>
<p>&#x5C06;&#x4E00;&#x4E2A;&#x70B9;&#x8F6C;&#x6362;&#x5230;&#x8282;&#x70B9; (&#x5C40;&#x90E8;) &#x7A7A;&#x95F4;&#x5750;&#x6807;&#x7CFB;&#xFF0C;&#x8FD9;&#x4E2A;&#x5750;&#x6807;&#x7CFB;&#x4EE5;&#x951A;&#x70B9;&#x4E3A;&#x539F;&#x70B9;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Vec2.html" class="crosslink">Vec2</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2544" target="_blank">cocos2d/core/CCNode.js:2544</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>worldPoint</code> <a href="Vec2.html" class="crosslink">Vec2</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> newVec2 = node.convertToNodeSpaceAR(cc.v2(<span class="hljs-number">100</span>, <span class="hljs-number">100</span>));
</code></pre>
<h5 id="converttoworldspacear">convertToWorldSpaceAR</h5>
<p>&#x5C06;&#x8282;&#x70B9;&#x5750;&#x6807;&#x7CFB;&#x4E0B;&#x7684;&#x4E00;&#x4E2A;&#x70B9;&#x8F6C;&#x6362;&#x5230;&#x4E16;&#x754C;&#x7A7A;&#x95F4;&#x5750;&#x6807;&#x7CFB;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Vec2.html" class="crosslink">Vec2</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2562" target="_blank">cocos2d/core/CCNode.js:2562</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>nodePoint</code> <a href="Vec2.html" class="crosslink">Vec2</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> newVec2 = node.convertToWorldSpaceAR(cc.v2(<span class="hljs-number">100</span>, <span class="hljs-number">100</span>));
</code></pre>
<h5 id="getnodetoparenttransform">getNodeToParentTransform</h5>
<p>&#x8FD4;&#x56DE;&#x8FD9;&#x4E2A;&#x5C06;&#x8282;&#x70B9;&#xFF08;&#x5C40;&#x90E8;&#xFF09;&#x7684;&#x7A7A;&#x95F4;&#x5750;&#x6807;&#x7CFB;&#x8F6C;&#x6362;&#x6210;&#x7236;&#x8282;&#x70B9;&#x7684;&#x7A7A;&#x95F4;&#x5750;&#x6807;&#x7CFB;&#x7684;&#x77E9;&#x9635;&#x3002;&#x8FD9;&#x4E2A;&#x77E9;&#x9635;&#x4EE5;&#x50CF;&#x7D20;&#x4E3A;&#x5355;&#x4F4D;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="AffineTransform.html" class="crosslink">AffineTransform</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2580" target="_blank">cocos2d/core/CCNode.js:2580</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>out</code> <a href="AffineTransform.html" class="crosslink">AffineTransform</a> The affine transform object to be filled with data</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> affineTransform = cc.AffineTransform.create();
node.getNodeToParentTransform(affineTransform);
</code></pre>
<h5 id="getnodetoparenttransformar">getNodeToParentTransformAR</h5>
<p>&#x8FD4;&#x56DE;&#x8FD9;&#x4E2A;&#x5C06;&#x8282;&#x70B9;&#xFF08;&#x5C40;&#x90E8;&#xFF09;&#x7684;&#x7A7A;&#x95F4;&#x5750;&#x6807;&#x7CFB;&#x8F6C;&#x6362;&#x6210;&#x7236;&#x8282;&#x70B9;&#x7684;&#x7A7A;&#x95F4;&#x5750;&#x6807;&#x7CFB;&#x7684;&#x77E9;&#x9635;&#x3002;<br>
&#x8FD9;&#x4E2A;&#x77E9;&#x9635;&#x4EE5;&#x50CF;&#x7D20;&#x4E3A;&#x5355;&#x4F4D;&#x3002;<br>
&#x8BE5;&#x65B9;&#x6CD5;&#x57FA;&#x4E8E;&#x8282;&#x70B9;&#x5750;&#x6807;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="AffineTransform.html" class="crosslink">AffineTransform</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2608" target="_blank">cocos2d/core/CCNode.js:2608</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>out</code> <a href="AffineTransform.html" class="crosslink">AffineTransform</a> The affine transform object to be filled with data</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> affineTransform = cc.AffineTransform.create();
node.getNodeToParentTransformAR(affineTransform);
</code></pre>
<h5 id="getnodetoworldtransform">getNodeToWorldTransform</h5>
<p>&#x8FD4;&#x56DE;&#x8282;&#x70B9;&#x5230;&#x4E16;&#x754C;&#x5750;&#x6807;&#x7CFB;&#x7684;&#x4EFF;&#x5C04;&#x53D8;&#x6362;&#x77E9;&#x9635;&#x3002;&#x77E9;&#x9635;&#x5355;&#x4F4D;&#x662F;&#x50CF;&#x7D20;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="AffineTransform.html" class="crosslink">AffineTransform</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2633" target="_blank">cocos2d/core/CCNode.js:2633</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>out</code> <a href="AffineTransform.html" class="crosslink">AffineTransform</a> The affine transform object to be filled with data</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> affineTransform = cc.AffineTransform.create();
node.getNodeToWorldTransform(affineTransform);
</code></pre>
<h5 id="getnodetoworldtransformar">getNodeToWorldTransformAR</h5>
<p>&#x8FD4;&#x56DE;&#x8282;&#x70B9;&#x5230;&#x4E16;&#x754C;&#x5750;&#x6807;&#x4EFF;&#x5C04;&#x53D8;&#x6362;&#x77E9;&#x9635;&#x3002;&#x77E9;&#x9635;&#x5355;&#x4F4D;&#x662F;&#x50CF;&#x7D20;&#x3002;<br>
&#x8BE5;&#x65B9;&#x6CD5;&#x57FA;&#x4E8E;&#x8282;&#x70B9;&#x5750;&#x6807;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="AffineTransform.html" class="crosslink">AffineTransform</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2660" target="_blank">cocos2d/core/CCNode.js:2660</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>out</code> <a href="AffineTransform.html" class="crosslink">AffineTransform</a> The affine transform object to be filled with data</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> affineTransform = cc.AffineTransform.create();
node.getNodeToWorldTransformAR(affineTransform);
</code></pre>
<h5 id="getparenttonodetransform">getParentToNodeTransform</h5>
<p>&#x8FD4;&#x56DE;&#x5C06;&#x7236;&#x8282;&#x70B9;&#x7684;&#x5750;&#x6807;&#x7CFB;&#x8F6C;&#x6362;&#x6210;&#x8282;&#x70B9;&#xFF08;&#x5C40;&#x90E8;&#xFF09;&#x7684;&#x7A7A;&#x95F4;&#x5750;&#x6807;&#x7CFB;&#x7684;&#x77E9;&#x9635;&#x3002;<br>
&#x8BE5;&#x77E9;&#x9635;&#x4EE5;&#x50CF;&#x7D20;&#x4E3A;&#x5355;&#x4F4D;&#x3002;&#x8FD4;&#x56DE;&#x7684;&#x77E9;&#x9635;&#x662F;&#x53EA;&#x8BFB;&#x7684;&#xFF0C;&#x4E0D;&#x80FD;&#x66F4;&#x6539;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="AffineTransform.html" class="crosslink">AffineTransform</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2683" target="_blank">cocos2d/core/CCNode.js:2683</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>out</code> <a href="AffineTransform.html" class="crosslink">AffineTransform</a> The affine transform object to be filled with data</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> affineTransform = cc.AffineTransform.create();
node.getParentToNodeTransform(affineTransform);
</code></pre>
<h5 id="getworldtonodetransform">getWorldToNodeTransform</h5>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="AffineTransform.html" class="crosslink">AffineTransform</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2707" target="_blank">cocos2d/core/CCNode.js:2707</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>out</code> <a href="AffineTransform.html" class="crosslink">AffineTransform</a> The affine transform object to be filled with data</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">let</span> affineTransform = cc.AffineTransform.create();
node.getWorldToNodeTransform(affineTransform);
</code></pre>
<h5 id="converttouchtonodespace">convertTouchToNodeSpace</h5>
<p>&#x5C06;&#x89E6;&#x6478;&#x70B9;&#x8F6C;&#x6362;&#x6210;&#x672C;&#x5730;&#x5750;&#x6807;&#x7CFB;&#x4E2D;&#x4F4D;&#x7F6E;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Vec2.html" class="crosslink">Vec2</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2727" target="_blank">cocos2d/core/CCNode.js:2727</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>touch</code> <a href="Touch.html" class="crosslink">Touch</a> The touch object</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> newVec2 = node.convertTouchToNodeSpace(touch);
</code></pre>
<h5 id="converttouchtonodespacear">convertTouchToNodeSpaceAR</h5>
<p>&#x8F6C;&#x6362;&#x4E00;&#x4E2A; cc.Touch&#xFF08;&#x4E16;&#x754C;&#x5750;&#x6807;&#xFF09;&#x5230;&#x4E00;&#x4E2A;&#x5C40;&#x90E8;&#x5750;&#x6807;&#xFF0C;&#x8BE5;&#x65B9;&#x6CD5;&#x57FA;&#x4E8E;&#x8282;&#x70B9;&#x5750;&#x6807;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Vec2.html" class="crosslink">Vec2</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2741" target="_blank">cocos2d/core/CCNode.js:2741</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>touch</code> <a href="Touch.html" class="crosslink">Touch</a> The touch object</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> newVec2 = node.convertTouchToNodeSpaceAR(touch);
</code></pre>
<h5 id="getboundingbox">getBoundingBox</h5>
<p>&#x8FD4;&#x56DE;&#x7236;&#x8282;&#x5750;&#x6807;&#x7CFB;&#x4E0B;&#x7684;&#x8F74;&#x5411;&#x5BF9;&#x9F50;&#x7684;&#x5305;&#x56F4;&#x76D2;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Rect.html" class="crosslink">Rect</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2755" target="_blank">cocos2d/core/CCNode.js:2755</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> boundingBox = node.getBoundingBox();
</code></pre>
<h5 id="getboundingboxtoworld">getBoundingBoxToWorld</h5>
<p>&#x8FD4;&#x56DE;&#x8282;&#x70B9;&#x5728;&#x4E16;&#x754C;&#x5750;&#x6807;&#x7CFB;&#x4E0B;&#x7684;&#x5BF9;&#x9F50;&#x8F74;&#x5411;&#x7684;&#x5305;&#x56F4;&#x76D2;&#xFF08;AABB&#xFF09;&#x3002;<br>
&#x8BE5;&#x8FB9;&#x6846;&#x5305;&#x542B;&#x81EA;&#x8EAB;&#x548C;&#x5DF2;&#x6FC0;&#x6D3B;&#x7684;&#x5B50;&#x8282;&#x70B9;&#x7684;&#x4E16;&#x754C;&#x8FB9;&#x6846;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Rect.html" class="crosslink">Rect</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2777" target="_blank">cocos2d/core/CCNode.js:2777</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> newRect = node.getBoundingBoxToWorld();
</code></pre>
<h5 id="addchild">addChild</h5>
<p>&#x6DFB;&#x52A0;&#x5B50;&#x8282;&#x70B9;&#xFF0C;&#x5E76;&#x4E14;&#x53EF;&#x4EE5;&#x4FEE;&#x6539;&#x8BE5;&#x8282;&#x70B9;&#x7684; &#x5C40;&#x90E8; Z &#x987A;&#x5E8F;&#x548C;&#x540D;&#x5B57;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2833" target="_blank">cocos2d/core/CCNode.js:2833</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>child</code> <a href="Node.html" class="crosslink">Node</a> A child node</li>
<li><code>zIndex</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> Z order for drawing priority. Please refer to zIndex property</li>
<li><code>name</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> A name to identify the node easily. Please refer to name property</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.addChild(newNode, <span class="hljs-number">1</span>, <span class="hljs-string">&quot;node&quot;</span>);
</code></pre>
<h5 id="cleanup">cleanup</h5>
<p>&#x505C;&#x6B62;&#x6240;&#x6709;&#x6B63;&#x5728;&#x64AD;&#x653E;&#x7684;&#x52A8;&#x4F5C;&#x548C;&#x8BA1;&#x65F6;&#x5668;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2863" target="_blank">cocos2d/core/CCNode.js:2863</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.cleanup();
</code></pre>
<h5 id="sortallchildren">sortAllChildren</h5>
<p>&#x6839;&#x636E;&#x5B50;&#x8282;&#x70B9;&#x7684; zIndex &#x548C; arrivalOrder &#x8FDB;&#x884C;&#x6392;&#x5E8F;&#xFF0C;&#x6B63;&#x5E38;&#x60C5;&#x51B5;&#x4E0B;&#x5F00;&#x53D1;&#x8005;&#x4E0D;&#x9700;&#x8981;&#x624B;&#x52A8;&#x8C03;&#x7528;&#x8FD9;&#x4E2A;&#x51FD;&#x6570;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L2885" target="_blank">cocos2d/core/CCNode.js:2885</a></td>
</tr>
</tbody>
</table>
<h5 id="getdisplayedopacity">getDisplayedOpacity</h5>
<p>&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x663E;&#x793A;&#x900F;&#x660E;&#x5EA6;&#xFF0C;
&#x663E;&#x793A;&#x900F;&#x660E;&#x5EA6;&#x548C;&#x900F;&#x660E;&#x5EA6;&#x4E4B;&#x95F4;&#x7684;&#x4E0D;&#x540C;&#x4E4B;&#x5904;&#x5728;&#x4E8E;&#x5F53;&#x542F;&#x7528;&#x7EA7;&#x8FDE;&#x900F;&#x660E;&#x5EA6;&#x65F6;&#xFF0C;
&#x663E;&#x793A;&#x900F;&#x660E;&#x5EA6;&#x662F;&#x57FA;&#x4E8E;&#x81EA;&#x8EAB;&#x900F;&#x660E;&#x5EA6;&#x548C;&#x7236;&#x8282;&#x70B9;&#x900F;&#x660E;&#x5EA6;&#x8BA1;&#x7B97;&#x7684;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">number</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L3002" target="_blank">cocos2d/core/CCNode.js:3002</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0, please use opacity property, cascade opacity is removed</td>
</tr>
</tbody>
</table>
<h5 id="getdisplayedcolor">getDisplayedColor</h5>
<p>&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x7684;&#x663E;&#x793A;&#x989C;&#x8272;&#xFF0C;
&#x663E;&#x793A;&#x989C;&#x8272;&#x548C;&#x989C;&#x8272;&#x4E4B;&#x95F4;&#x7684;&#x4E0D;&#x540C;&#x4E4B;&#x5904;&#x5728;&#x4E8E;&#x5F53;&#x542F;&#x7528;&#x7EA7;&#x8FDE;&#x989C;&#x8272;&#x65F6;&#xFF0C;
&#x663E;&#x793A;&#x989C;&#x8272;&#x662F;&#x57FA;&#x4E8E;&#x81EA;&#x8EAB;&#x989C;&#x8272;&#x548C;&#x7236;&#x8282;&#x70B9;&#x989C;&#x8272;&#x8BA1;&#x7B97;&#x7684;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Color.html" class="crosslink">Color</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L3016" target="_blank">cocos2d/core/CCNode.js:3016</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0, please use color property, cascade color is removed</td>
</tr>
</tbody>
</table>
<h5 id="iscascadeopacityenabled">isCascadeOpacityEnabled</h5>
<p>&#x900F;&#x660E;&#x5EA6;&#x7EA7;&#x8054;&#x529F;&#x80FD;&#x4ECE; v2.0 &#x5F00;&#x59CB;&#x5DF2;&#x79FB;&#x9664;
&#x8FD4;&#x56DE;&#x8282;&#x70B9;&#x7684;&#x4E0D;&#x900F;&#x660E;&#x5EA6;&#x503C;&#x662F;&#x5426;&#x5F71;&#x54CD;&#x5176;&#x5B50;&#x8282;&#x70B9;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L3040" target="_blank">cocos2d/core/CCNode.js:3040</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h5 id="setcascadeopacityenabled">setCascadeOpacityEnabled</h5>
<p>&#x900F;&#x660E;&#x5EA6;&#x7EA7;&#x8054;&#x529F;&#x80FD;&#x4ECE; v2.0 &#x5F00;&#x59CB;&#x5DF2;&#x79FB;&#x9664;
&#x542F;&#x7528;&#x6216;&#x7981;&#x7528;&#x7EA7;&#x8FDE;&#x4E0D;&#x900F;&#x660E;&#x5EA6;&#xFF0C;&#x5982;&#x679C;&#x7EA7;&#x8FDE;&#x542F;&#x7528;&#xFF0C;&#x5B50;&#x8282;&#x70B9;&#x7684;&#x4E0D;&#x900F;&#x660E;&#x5EA6;&#x5C06;&#x662F;&#x7236;&#x4E0D;&#x900F;&#x660E;&#x5EA6;&#x4E58;&#x4E0A;&#x5B83;&#x81EA;&#x5DF1;&#x7684;&#x4E0D;&#x900F;&#x660E;&#x5EA6;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L3050" target="_blank">cocos2d/core/CCNode.js:3050</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>cascadeOpacityEnabled</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> </li>
</ul>
<h5 id="setopacitymodifyrgb">setOpacityModifyRGB</h5>
<p>&#x900F;&#x660E;&#x5EA6;&#x5F71;&#x54CD;&#x989C;&#x8272;&#x914D;&#x7F6E;&#x5DF2;&#x7ECF;&#x88AB;&#x5E9F;&#x5F03;
&#x8BBE;&#x7F6E;&#x66F4;&#x6539;&#x900F;&#x660E;&#x5EA6;&#x65F6;&#x662F;&#x5426;&#x4FEE;&#x6539;RGB&#x503C;&#xFF0C;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L3060" target="_blank">cocos2d/core/CCNode.js:3060</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>opacityValue</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> </li>
</ul>
<h5 id="isopacitymodifyrgb">isOpacityModifyRGB</h5>
<p>&#x900F;&#x660E;&#x5EA6;&#x5F71;&#x54CD;&#x989C;&#x8272;&#x914D;&#x7F6E;&#x5DF2;&#x7ECF;&#x88AB;&#x5E9F;&#x5F03;
&#x83B7;&#x53D6;&#x66F4;&#x6539;&#x900F;&#x660E;&#x5EA6;&#x65F6;&#x662F;&#x5426;&#x4FEE;&#x6539;RGB&#x503C;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/CCNode.js#L3071" target="_blank">cocos2d/core/CCNode.js:3071</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>since v2.0</td>
</tr>
</tbody>
</table>
<h5 id="attr">attr</h5>
<p>&#x5C5E;&#x6027;&#x914D;&#x7F6E;&#x51FD;&#x6570;&#x3002;&#x5728; attrs &#x7684;&#x6240;&#x6709;&#x5C5E;&#x6027;&#x5C06;&#x88AB;&#x8BBE;&#x7F6E;&#x4E3A;&#x8282;&#x70B9;&#x5C5E;&#x6027;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L405" target="_blank">cocos2d/core/utils/base-node.js:405</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>attrs</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> Properties to be set to node</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> attrs = { key: <span class="hljs-number">0</span>, num: <span class="hljs-number">100</span> };
node.attr(attrs);
</code></pre>
<h5 id="getchildbyuuid">getChildByUuid</h5>
<p>&#x901A;&#x8FC7; uuid &#x83B7;&#x53D6;&#x8282;&#x70B9;&#x7684;&#x5B50;&#x8282;&#x70B9;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Node.html" class="crosslink">Node</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L424" target="_blank">cocos2d/core/utils/base-node.js:424</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>uuid</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> The uuid to find the child node.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> child = node.getChildByUuid(uuid);
</code></pre>
<h5 id="getchildbyname">getChildByName</h5>
<p>&#x901A;&#x8FC7;&#x540D;&#x79F0;&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x7684;&#x5B50;&#x8282;&#x70B9;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Node.html" class="crosslink">Node</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L447" target="_blank">cocos2d/core/utils/base-node.js:447</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>name</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> A name to find the child node.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> child = node.getChildByName(<span class="hljs-string">&quot;Test Node&quot;</span>);
</code></pre>
<h5 id="insertchild">insertChild</h5>
<p>&#x63D2;&#x5165;&#x5B50;&#x8282;&#x70B9;&#x5230;&#x6307;&#x5B9A;&#x4F4D;&#x7F6E;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L485" target="_blank">cocos2d/core/utils/base-node.js:485</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>child</code> <a href="Node.html" class="crosslink">Node</a> the child node to be inserted</li>
<li><code>siblingIndex</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> the sibling index to place the child in</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.insertChild(child, <span class="hljs-number">2</span>);
</code></pre>
<h5 id="getsiblingindex">getSiblingIndex</h5>
<p>&#x83B7;&#x53D6;&#x540C;&#x7EA7;&#x7D22;&#x5F15;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">number</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L503" target="_blank">cocos2d/core/utils/base-node.js:503</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> index = node.getSiblingIndex();
</code></pre>
<h5 id="setsiblingindex">setSiblingIndex</h5>
<p>&#x8BBE;&#x7F6E;&#x8282;&#x70B9;&#x540C;&#x7EA7;&#x7D22;&#x5F15;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L520" target="_blank">cocos2d/core/utils/base-node.js:520</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>index</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.setSiblingIndex(<span class="hljs-number">1</span>);
</code></pre>
<h5 id="walk-the-child-tree">Walk the child tree</h5>
<p>&#x904D;&#x5386;&#x8BE5;&#x8282;&#x70B9;&#x7684;&#x5B50;&#x6811;&#x91CC;&#x7684;&#x6240;&#x6709;&#x8282;&#x70B9;&#x5E76;&#x6309;&#x89C4;&#x5219;&#x6267;&#x884C;&#x56DE;&#x8C03;&#x51FD;&#x6570;&#x3002;
&#x5BF9;&#x5B50;&#x6811;&#x4E2D;&#x7684;&#x6240;&#x6709;&#x8282;&#x70B9;&#xFF0C;&#x5305;&#x542B;&#x5F53;&#x524D;&#x8282;&#x70B9;&#xFF0C;&#x4F1A;&#x6267;&#x884C;&#x4E24;&#x6B21;&#x56DE;&#x8C03;&#xFF0C;prefunc &#x4F1A;&#x5728;&#x8BBF;&#x95EE;&#x5B83;&#x7684;&#x5B50;&#x8282;&#x70B9;&#x4E4B;&#x524D;&#x8C03;&#x7528;&#xFF0C;postfunc &#x4F1A;&#x5728;&#x8BBF;&#x95EE;&#x6240;&#x6709;&#x5B50;&#x8282;&#x70B9;&#x4E4B;&#x540E;&#x8C03;&#x7528;&#x3002;
&#x8FD9;&#x4E2A;&#x51FD;&#x6570;&#x7684;&#x5B9E;&#x73B0;&#x4E0D;&#x662F;&#x57FA;&#x4E8E;&#x9012;&#x5F52;&#x7684;&#xFF0C;&#x800C;&#x662F;&#x57FA;&#x4E8E;&#x6808;&#x5C55;&#x5F00;&#x9012;&#x5F52;&#x7684;&#x65B9;&#x5F0F;&#x3002;
&#x8BF7;&#x4E0D;&#x8981;&#x5728; walk &#x8FC7;&#x7A0B;&#x4E2D;&#x5BF9;&#x4EFB;&#x4F55;&#x5176;&#x4ED6;&#x7684;&#x8282;&#x70B9;&#x5D4C;&#x5957;&#x6267;&#x884C; walk&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L551" target="_blank">cocos2d/core/utils/base-node.js:551</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>prefunc</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> The callback to process node when reach the node for the first time<ul>
<li><code>target</code> <a href="_BaseNode.html" class="crosslink">_BaseNode</a> The current visiting node</li>
</ul>
</li>
<li><code>postfunc</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> The callback to process node when re-visit the node after walked all children in its sub tree<ul>
<li><code>target</code> <a href="_BaseNode.html" class="crosslink">_BaseNode</a> The current visiting node</li>
</ul>
</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.walk(<span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">target</span>) </span>{
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">&apos;Walked through node &apos;</span> + target.name + <span class="hljs-string">&apos; for the first time&apos;</span>);
}, <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">target</span>) </span>{
    <span class="hljs-built_in">console</span>.log(<span class="hljs-string">&apos;Walked through node &apos;</span> + target.name + <span class="hljs-string">&apos; after walked all children in its sub tree&apos;</span>);
});
</code></pre>
<h5 id="removefromparent">removeFromParent</h5>
<p>&#x4ECE;&#x7236;&#x8282;&#x70B9;&#x4E2D;&#x5220;&#x9664;&#x8BE5;&#x8282;&#x70B9;&#x3002;&#x5982;&#x679C;&#x4E0D;&#x4F20;&#x5165; cleanup &#x53C2;&#x6570;&#x6216;&#x8005;&#x4F20;&#x5165; <code>true</code>&#xFF0C;&#x90A3;&#x4E48;&#x8FD9;&#x4E2A;&#x8282;&#x70B9;&#x4E0A;&#x6240;&#x6709;&#x7ED1;&#x5B9A;&#x7684;&#x4E8B;&#x4EF6;&#x3001;action &#x90FD;&#x4F1A;&#x88AB;&#x5220;&#x9664;&#x3002;<br>
&#x56E0;&#x6B64;&#x5EFA;&#x8BAE;&#x8C03;&#x7528;&#x8FD9;&#x4E2A; API &#x65F6;&#x603B;&#x662F;&#x4F20;&#x5165; <code>false</code> &#x53C2;&#x6570;&#x3002;<br>
&#x5982;&#x679C;&#x8FD9;&#x4E2A;&#x8282;&#x70B9;&#x662F;&#x4E00;&#x4E2A;&#x5B64;&#x8282;&#x70B9;&#xFF0C;&#x90A3;&#x4E48;&#x4EC0;&#x4E48;&#x90FD;&#x4E0D;&#x4F1A;&#x53D1;&#x751F;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L665" target="_blank">cocos2d/core/utils/base-node.js:665</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>cleanup</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> true if all actions and callbacks on this node should be removed, false otherwise.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.removeFromParent();
node.removeFromParent(<span class="hljs-literal">false</span>);
</code></pre>
<h5 id="removechild">removeChild</h5>
<p>&#x79FB;&#x9664;&#x8282;&#x70B9;&#x4E2D;&#x6307;&#x5B9A;&#x7684;&#x5B50;&#x8282;&#x70B9;&#xFF0C;&#x662F;&#x5426;&#x9700;&#x8981;&#x6E05;&#x7406;&#x6240;&#x6709;&#x6B63;&#x5728;&#x8FD0;&#x884C;&#x7684;&#x884C;&#x4E3A;&#x53D6;&#x51B3;&#x4E8E; cleanup &#x53C2;&#x6570;&#x3002;<br>
&#x5982;&#x679C; cleanup &#x53C2;&#x6570;&#x4E0D;&#x4F20;&#x5165;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A; true &#x8868;&#x793A;&#x6E05;&#x7406;&#x3002;<br></p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L689" target="_blank">cocos2d/core/utils/base-node.js:689</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>child</code> <a href="Node.html" class="crosslink">Node</a> The child node which will be removed.</li>
<li><code>cleanup</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> true if all running actions and callbacks on the child node will be cleanup, false otherwise.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.removeChild(newNode);
node.removeChild(newNode, <span class="hljs-literal">false</span>);
</code></pre>
<h5 id="removeallchildren">removeAllChildren</h5>
<p>&#x79FB;&#x9664;&#x8282;&#x70B9;&#x6240;&#x6709;&#x7684;&#x5B50;&#x8282;&#x70B9;&#xFF0C;&#x662F;&#x5426;&#x9700;&#x8981;&#x6E05;&#x7406;&#x6240;&#x6709;&#x6B63;&#x5728;&#x8FD0;&#x884C;&#x7684;&#x884C;&#x4E3A;&#x53D6;&#x51B3;&#x4E8E; cleanup &#x53C2;&#x6570;&#x3002;<br>
&#x5982;&#x679C; cleanup &#x53C2;&#x6570;&#x4E0D;&#x4F20;&#x5165;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A; true &#x8868;&#x793A;&#x6E05;&#x7406;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L717" target="_blank">cocos2d/core/utils/base-node.js:717</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>cleanup</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> true if all running actions on all children nodes should be cleanup, false otherwise.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.removeAllChildren();
node.removeAllChildren(<span class="hljs-literal">false</span>);
</code></pre>
<h5 id="ischildof">isChildOf</h5>
<p>&#x662F;&#x5426;&#x662F;&#x6307;&#x5B9A;&#x8282;&#x70B9;&#x7684;&#x5B50;&#x8282;&#x70B9;&#xFF1F;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L748" target="_blank">cocos2d/core/utils/base-node.js:748</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>parent</code> <a href="Node.html" class="crosslink">Node</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.isChildOf(newNode);
</code></pre>
<h5 id="getcomponent">getComponent</h5>
<p>&#x83B7;&#x53D6;&#x8282;&#x70B9;&#x4E0A;&#x6307;&#x5B9A;&#x7C7B;&#x578B;&#x7684;&#x7EC4;&#x4EF6;&#xFF0C;&#x5982;&#x679C;&#x8282;&#x70B9;&#x6709;&#x9644;&#x52A0;&#x6307;&#x5B9A;&#x7C7B;&#x578B;&#x7684;&#x7EC4;&#x4EF6;&#xFF0C;&#x5219;&#x8FD4;&#x56DE;&#xFF0C;&#x5982;&#x679C;&#x6CA1;&#x6709;&#x5219;&#x4E3A;&#x7A7A;&#x3002;<br>
&#x4F20;&#x5165;&#x53C2;&#x6570;&#x4E5F;&#x53EF;&#x4EE5;&#x662F;&#x811A;&#x672C;&#x7684;&#x540D;&#x79F0;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Component.html" class="crosslink">Component</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L771" target="_blank">cocos2d/core/utils/base-node.js:771</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>typeOrClassName</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-comment">// get sprite component.</span>
<span class="hljs-keyword">var</span> sprite = node.getComponent(cc.Sprite);
<span class="hljs-comment">// get custom test calss.</span>
<span class="hljs-keyword">var</span> test = node.getComponent(<span class="hljs-string">&quot;Test&quot;</span>);
</code></pre>
<h5 id="getcomponents">getComponents</h5>
<p>&#x8FD4;&#x56DE;&#x8282;&#x70B9;&#x4E0A;&#x6307;&#x5B9A;&#x7C7B;&#x578B;&#x7684;&#x6240;&#x6709;&#x7EC4;&#x4EF6;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Component.html" class="crosslink">Component[]</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L798" target="_blank">cocos2d/core/utils/base-node.js:798</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>typeOrClassName</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> sprites = node.getComponents(cc.Sprite);
<span class="hljs-keyword">var</span> tests = node.getComponents(<span class="hljs-string">&quot;Test&quot;</span>);
</code></pre>
<h5 id="getcomponentinchildren">getComponentInChildren</h5>
<p>&#x9012;&#x5F52;&#x67E5;&#x627E;&#x6240;&#x6709;&#x5B50;&#x8282;&#x70B9;&#x4E2D;&#x7B2C;&#x4E00;&#x4E2A;&#x5339;&#x914D;&#x6307;&#x5B9A;&#x7C7B;&#x578B;&#x7684;&#x7EC4;&#x4EF6;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Component.html" class="crosslink">Component</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L819" target="_blank">cocos2d/core/utils/base-node.js:819</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>typeOrClassName</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> sprite = node.getComponentInChildren(cc.Sprite);
<span class="hljs-keyword">var</span> Test = node.getComponentInChildren(<span class="hljs-string">&quot;Test&quot;</span>);
</code></pre>
<h5 id="getcomponentsinchildren">getComponentsInChildren</h5>
<p>&#x9012;&#x5F52;&#x67E5;&#x627E;&#x81EA;&#x8EAB;&#x6216;&#x6240;&#x6709;&#x5B50;&#x8282;&#x70B9;&#x4E2D;&#x6307;&#x5B9A;&#x7C7B;&#x578B;&#x7684;&#x7EC4;&#x4EF6;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Component.html" class="crosslink">Component[]</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L840" target="_blank">cocos2d/core/utils/base-node.js:840</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>typeOrClassName</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> </li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> sprites = node.getComponentsInChildren(cc.Sprite);
<span class="hljs-keyword">var</span> tests = node.getComponentsInChildren(<span class="hljs-string">&quot;Test&quot;</span>);
</code></pre>
<h5 id="addcomponent">addComponent</h5>
<p>&#x5411;&#x8282;&#x70B9;&#x6DFB;&#x52A0;&#x4E00;&#x4E2A;&#x6307;&#x5B9A;&#x7C7B;&#x578B;&#x7684;&#x7EC4;&#x4EF6;&#x7C7B;&#xFF0C;&#x4F60;&#x8FD8;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x4F20;&#x5165;&#x811A;&#x672C;&#x7684;&#x540D;&#x79F0;&#x6765;&#x6DFB;&#x52A0;&#x7EC4;&#x4EF6;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Component.html" class="crosslink">Component</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L876" target="_blank">cocos2d/core/utils/base-node.js:876</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>typeOrClassName</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> The constructor or the class name of the component to add</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js"><span class="hljs-keyword">var</span> sprite = node.addComponent(cc.Sprite);
<span class="hljs-keyword">var</span> test = node.addComponent(<span class="hljs-string">&quot;Test&quot;</span>);
</code></pre>
<h5 id="addcomponentat">_addComponentAt</h5>
<p>This api should only used by undo system</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L965" target="_blank">cocos2d/core/utils/base-node.js:965</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>comp</code> <a href="Component.html" class="crosslink">Component</a> </li>
<li><code>index</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> </li>
</ul>
<h5 id="removecomponent">removeComponent</h5>
<p>&#x5220;&#x9664;&#x8282;&#x70B9;&#x4E0A;&#x7684;&#x6307;&#x5B9A;&#x7EC4;&#x4EF6;&#xFF0C;&#x4F20;&#x5165;&#x53C2;&#x6570;&#x53EF;&#x4EE5;&#x662F;&#x4E00;&#x4E2A;&#x7EC4;&#x4EF6;&#x6784;&#x9020;&#x51FD;&#x6570;&#x6216;&#x7EC4;&#x4EF6;&#x540D;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x662F;&#x5DF2;&#x7ECF;&#x83B7;&#x5F97;&#x7684;&#x7EC4;&#x4EF6;&#x5F15;&#x7528;&#x3002;
&#x5982;&#x679C;&#x4F60;&#x5DF2;&#x7ECF;&#x83B7;&#x5F97;&#x7EC4;&#x4EF6;&#x5F15;&#x7528;&#xFF0C;&#x4F60;&#x4E5F;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x8C03;&#x7528; component.destroy()</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L1013" target="_blank">cocos2d/core/utils/base-node.js:1013</a></td>
</tr>
<tr>
<td>&#x5E9F;&#x5F03;&#xFF08;Deprecated&#xFF09;</td>
<td>please destroy the component to remove it.</td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>component</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="Component.html" class="crosslink">Component</a> The need remove component.</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.removeComponent(cc.Sprite);
<span class="hljs-keyword">var</span> Test = <span class="hljs-built_in">require</span>(<span class="hljs-string">&quot;Test&quot;</span>);
node.removeComponent(Test);
</code></pre>
<h5 id="getdependcomponent">_getDependComponent</h5>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="Component.html" class="crosslink">Component</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L1041" target="_blank">cocos2d/core/utils/base-node.js:1041</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>depended</code> <a href="Component.html" class="crosslink">Component</a> </li>
</ul>
<h5 id="destroyallchildren">destroyAllChildren</h5>
<p>&#x9500;&#x6BC1;&#x6240;&#x6709;&#x5B50;&#x8282;&#x70B9;&#xFF0C;&#x5E76;&#x91CA;&#x653E;&#x6240;&#x6709;&#x5B83;&#x4EEC;&#x5BF9;&#x5176;&#x5B83;&#x5BF9;&#x8C61;&#x7684;&#x5F15;&#x7528;&#x3002;<br>
&#x5B9E;&#x9645;&#x9500;&#x6BC1;&#x64CD;&#x4F5C;&#x4F1A;&#x5EF6;&#x8FDF;&#x5230;&#x5F53;&#x524D;&#x5E27;&#x6E32;&#x67D3;&#x524D;&#x6267;&#x884C;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/utils/base-node.js#L1108" target="_blank">cocos2d/core/utils/base-node.js:1108</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">node.destroyAllChildren();
</code></pre>
<h5 id="once">once</h5>
<p>&#x6CE8;&#x518C;&#x4E8B;&#x4EF6;&#x76EE;&#x6807;&#x7684;&#x7279;&#x5B9A;&#x4E8B;&#x4EF6;&#x7C7B;&#x578B;&#x56DE;&#x8C03;&#xFF0C;&#x56DE;&#x8C03;&#x4F1A;&#x5728;&#x7B2C;&#x4E00;&#x65F6;&#x95F4;&#x88AB;&#x89E6;&#x53D1;&#x540E;&#x5220;&#x9664;&#x81EA;&#x8EAB;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/event/event-target.js#L161" target="_blank">cocos2d/core/event/event-target.js:161</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>type</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> A string representing the event type to listen for.</li>
<li><code>callback</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> The callback that will be invoked when the event is dispatched.<pre><code>                       The callback is ignored if it is a duplicate (the callbacks are unique).
</code></pre><ul>
<li><code>event</code> <a href="Event.html" class="crosslink">Event</a> event</li>
</ul>
</li>
<li><code>target</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> The target (this object) to invoke the callback, can be null</li>
</ul>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">eventTarget.once(<span class="hljs-string">&apos;fire&apos;</span>, <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">event</span>) </span>{
    cc.log(<span class="hljs-string">&quot;this is the callback and will be invoked only once&quot;</span>);
}, node);
</code></pre>
<h5 id="destroy">destroy</h5>
<p>&#x9500;&#x6BC1;&#x8BE5;&#x5BF9;&#x8C61;&#xFF0C;&#x5E76;&#x91CA;&#x653E;&#x6240;&#x6709;&#x5B83;&#x5BF9;&#x5176;&#x5B83;&#x5BF9;&#x8C61;&#x7684;&#x5F15;&#x7528;&#x3002;<br>
&#x5B9E;&#x9645;&#x9500;&#x6BC1;&#x64CD;&#x4F5C;&#x4F1A;&#x5EF6;&#x8FDF;&#x5230;&#x5F53;&#x524D;&#x5E27;&#x6E32;&#x67D3;&#x524D;&#x6267;&#x884C;&#x3002;&#x4ECE;&#x4E0B;&#x4E00;&#x5E27;&#x5F00;&#x59CB;&#xFF0C;&#x8BE5;&#x5BF9;&#x8C61;&#x5C06;&#x4E0D;&#x518D;&#x53EF;&#x7528;&#x3002;
&#x60A8;&#x53EF;&#x4EE5;&#x5728;&#x8BBF;&#x95EE;&#x5BF9;&#x8C61;&#x4E4B;&#x524D;&#x4F7F;&#x7528; cc.isValid(obj) &#x6765;&#x68C0;&#x67E5;&#x5BF9;&#x8C61;&#x662F;&#x5426;&#x5DF2;&#x88AB;&#x9500;&#x6BC1;&#x3002;</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/platform/CCObject.js#L296" target="_blank">cocos2d/core/platform/CCObject.js:296</a></td>
</tr>
</tbody>
</table>
<h5 id="&#x793A;&#x4F8B;">&#x793A;&#x4F8B;</h5>
<pre><code class="lang-js">obj.destroy();
</code></pre>
<h5 id="destruct">_destruct</h5>
<p>Clear all references in the instance.</p>
<p>NOTE: this method will not clear the getter or setter functions which defined in the instance of CCObject.
      You can override the _destruct method if you need, for example:
      _destruct: function () {
          for (var key in this) {
              if (this.hasOwnProperty(key)) {
                  switch (typeof this[key]) {
                      case &apos;string&apos;:
                          this[key] = &apos;&apos;;
                          break;
                      case &apos;object&apos;:
                      case &apos;function&apos;:
                          this[key] = null;
                          break;
              }
          }
      }</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/platform/CCObject.js#L428" target="_blank">cocos2d/core/platform/CCObject.js:428</a></td>
</tr>
</tbody>
</table>
<h5 id="onpredestroy">_onPreDestroy</h5>
<p>Called before the object being destroyed.</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/platform/CCObject.js#L461" target="_blank">cocos2d/core/platform/CCObject.js:461</a></td>
</tr>
</tbody>
</table>
<h5 id="serialize">_serialize</h5>
<p>The customized serialization for this object. (Editor Only)</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x8FD4;&#x56DE;</td>
<td><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">object</a> </td>
</tr>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/platform/CCObject.js#L486" target="_blank">cocos2d/core/platform/CCObject.js:486</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>exporting</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> </li>
</ul>
<h5 id="deserialize">_deserialize</h5>
<p>Init this object from the custom serialized data.</p>
<table>
<thead>
<tr>
<th>meta</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#x5B9A;&#x4E49;&#x4E8E;</td>
<td><a href="https://github.com/cocos-creator/engine/blob/8f14bc42a40e57c2d3b846c4f7f26f1a1753232c/cocos2d/core/platform/CCObject.js#L496" target="_blank">cocos2d/core/platform/CCObject.js:496</a></td>
</tr>
</tbody>
</table>
<h6 id="&#x53C2;&#x6570;&#x5217;&#x8868;">&#x53C2;&#x6570;&#x5217;&#x8868;</h6>
<ul>
<li><code>data</code> <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> the serialized json data</li>
<li><code>ctx</code> _Deserializer </li>
</ul>
<h4 id="&#x4E8B;&#x4EF6;">&#x4E8B;&#x4EF6;</h4>
<h3 id="position-changed-event"><code>position-changed</code> Event</h3>
<p>&#x6A21;&#x5757;: <a href="../modules/cc.html">cc</a></p>
<h3 id="&#x7D22;&#x5F15;">&#x7D22;&#x5F15;</h3>
<h3 id="details">Details</h3>
<h3 id="size-changed-event"><code>size-changed</code> Event</h3>
<p>&#x6A21;&#x5757;: <a href="../modules/cc.html">cc</a></p>
<h3 id="&#x7D22;&#x5F15;">&#x7D22;&#x5F15;</h3>
<h3 id="details">Details</h3>
<h3 id="anchor-changed-event"><code>anchor-changed</code> Event</h3>
<p>&#x6A21;&#x5757;: <a href="../modules/cc.html">cc</a></p>
<h3 id="&#x7D22;&#x5F15;">&#x7D22;&#x5F15;</h3>
<h3 id="details">Details</h3>
<h3 id="child-added-event"><code>child-added</code> Event</h3>
<p>&#x6A21;&#x5757;: <a href="../modules/cc.html">cc</a></p>
<h3 id="&#x7D22;&#x5F15;">&#x7D22;&#x5F15;</h3>
<h3 id="details">Details</h3>
<h3 id="child-removed-event"><code>child-removed</code> Event</h3>
<p>&#x6A21;&#x5757;: <a href="../modules/cc.html">cc</a></p>
<h3 id="&#x7D22;&#x5F15;">&#x7D22;&#x5F15;</h3>
<h3 id="details">Details</h3>
<h3 id="child-reorder-event"><code>child-reorder</code> Event</h3>
<p>&#x6A21;&#x5757;: <a href="../modules/cc.html">cc</a></p>
<h3 id="&#x7D22;&#x5F15;">&#x7D22;&#x5F15;</h3>
<h3 id="details">Details</h3>
<h3 id="group-changed-event"><code>group-changed</code> Event</h3>
<p>&#x6A21;&#x5757;: <a href="../modules/cc.html">cc</a></p>
<h3 id="&#x7D22;&#x5F15;">&#x7D22;&#x5F15;</h3>
<h3 id="details">Details</h3>
<h3 id="active-in-hierarchy-changed-event"><code>active-in-hierarchy-changed</code> Event</h3>
<p>&#x6A21;&#x5757;: <a href="../modules/cc.html">cc</a>
&#x7236;&#x6A21;&#x5757;: <a href="../modules/cc.html">cc</a></p>
<p>&#x6CE8;&#x610F;&#xFF1A;&#x6B64;&#x8282;&#x70B9;&#x6FC0;&#x6D3B;&#x65F6;&#xFF0C;&#x6B64;&#x4E8B;&#x4EF6;&#x4EC5;&#x4ECE;&#x6700;&#x9876;&#x90E8;&#x7684;&#x8282;&#x70B9;&#x53D1;&#x51FA;&#x3002;</p>
<h3 id="&#x7D22;&#x5F15;">&#x7D22;&#x5F15;</h3>
<h3 id="details">Details</h3>

                
                </section>
            
        </div>
    </div>

            </div>

            
                
                <a href="PrismaticJoint.html" class="navigation navigation-prev " aria-label="Previous page: PrismaticJoint">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="ProgressBar.html" class="navigation navigation-next " aria-label="Next page: ProgressBar">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"PrivateNode","level":"2.98","depth":1,"next":{"title":"ProgressBar","level":"2.99","depth":1,"path":"classes/ProgressBar.md","ref":"classes/ProgressBar.md","articles":[]},"previous":{"title":"PrismaticJoint","level":"2.97","depth":1,"path":"classes/PrismaticJoint.md","ref":"classes/PrismaticJoint.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","search-title","github-issue-feedback-language-custom","anchorjs","sharing","splitter"],"styles":{"website":"./styles/website.css"},"pluginsConfig":{"livereload":{},"splitter":{},"search":{"maxIndexSize":100000000},"lunr":{"maxIndexSize":100000000},"fontsettings":{"theme":"white","family":"sans","size":2},"search-title":{},"highlight":{},"sharing":{"qq":true,"all":["facebook","google","twitter","weibo","instapaper"],"douban":false,"facebook":true,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"github-issue-feedback-language-custom":{"repo":"cocos-creator/creator-api-docs","branch":"master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchorjs":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"index.md","glossary":"GLOSSARY.md","summary":"index.md"},"variables":{"products":[{"name":"Cocos Creator","links":[{"name":"手册文档","link":"http://docs.cocos.com/creator/manual/zh"},{"name":"API 参考","link":"http://docs.cocos.com/creator/api/zh"}]},{"name":"Cocos2d-x","links":[{"name":"手册文档","link":"http://docs.cocos.com/cocos2d-x/manual/zh"},{"name":"API 参考","link":"http://www.cocos2d-x.org/docs/api-ref/index.html"}]},{"name":"AnySDK","link":"http://docs.anysdk.com/"}],"version":[{"name":"2.0 Preview","links":[{"name":"1.x","link":"http://docs.cocos.com/creator/api/zh"},{"name":"2.0 Preview","link":"http://docs.cocos.com/creator/api/2.0/zh"}]}]},"language":"zh-hans","gitbook":"*"},"file":{"path":"classes/PrivateNode.md","mtime":"2018-06-12T08:14:38.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-06-12T08:19:29.814Z"},"basePath":"..","book":{"language":"zh"}});
        });
    </script>
</div>

        
    
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-search-title/jquery.mark.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search-title/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-github-issue-feedback-language-custom/plugin.js"></script>
        
    
        
        <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-anchorjs/anchor-style.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    <script type="text/javascript">
    function toggleLanguage () {
        var path = location.href;
        // console.log(path);
        if (path.indexOf('/zh') !== -1) {
            path = path.replace(/\/zh[\/$\s]/i, '/en/');
        } else if (path.indexOf('/en') !== -1) {
            path = path.replace(/\/en[\/$\s]/i, '/zh/');
        }
        // console.log('after: ' + path);    
        location.assign(path);
    }
    // this method is used to avoid the possibility of failure of the URL's anchor on WAN
    function makeSureAnchorJumped () {
        var anchor = window.location.href.split('#')[1];
        if (anchor) {
            var element = document.getElementById(anchor);
            if (element) {
                var topPos = element.offsetTop;
                // for Safari browers
                document.body.scrollTop = topPos;
                // for IE, Chrome, FireFox, Opera browers
                document.documentElement.scrollTop = topPos;
            }
        }                              
    }

    function avoidOnLoadConflict (onLoad) {
        if (!window.onload) {
            window.onload = onLoad;
        }
        else {
            var oldFunc = window.onload;
            window.onload = function () {
                oldFunc();
                onLoad();            
            };
        }
    }
    avoidOnLoadConflict(makeSureAnchorJumped);
    </script>

    </body>
</html>

